(function(){var templateCache = window.$templateCache||Ares.templateCache;templateCache.put('/app/finance/filters/finance-consultant-filter-view.html','<div class="input-container" style="width: 200px">    <span>{{filterLabelName}}</span>    <select id="consultant-drop" ng-model="filterValue"            k-on-change="onChanged()"            style="width:140px;"            kendo-drop-down-list=""            k-data-source="consultants"            k-data-text-field="\'name\'"            k-data-value-field="\'id\'"            k-filter="\'contains\'"></select></div>');templateCache.put('/app/finance/filters/finance-dealsubtype-filter-view.html','<div class="input-container" style="width: 220px">    <span>{{filterLabelName}}</span>    <select id="dealsubtype-drop" ng-model="filterValue"            k-on-change="onChanged()"            style="width:140px;"            kendo-drop-down-list=""            k-data-source="dealSubTypes"            k-data-text-field="\'name\'"            k-data-value-field="\'value\'"            k-filter="\'contains\'"></select></div>');templateCache.put('/app/finance/filters/finance-dealtype-filter-view.html','<div class="input-container" style="width: 220px">    <span>{{filterLabelName}}</span>    <select id="dealtype-drop" ng-model="filterValue"            k-on-change="onChanged()"            style="width:140px;"            kendo-drop-down-list=""            k-data-source="dealTypes"            k-data-text-field="\'name\'"            k-data-value-field="\'value\'"            k-filter="\'contains\'"></select></div>');templateCache.put('/app/finance/filters/finance-department-filter-view.html','<div class="input-container" style="width: 180px">    <span>{{filterLabelName}}</span>    <select id="department-drop" ng-model="filterValue"            k-on-change="onChanged()"            style="width:140px;"            kendo-drop-down-list=""            k-data-source="departments"            k-data-text-field="\'itemName\'"            k-data-value-field="\'id\'"            k-filter="\'contains\'"></select></div>');templateCache.put('/app/finance/filters/finance-doctor-filter-view.html','<div class="input-container" style="width: 180px">    <span>{{filterLabelName}}</span>    <select id="doctor-drop" ng-model="filterValue"            k-on-change="onChanged()"            style="width:140px;"            kendo-drop-down-list=""            k-data-source="doctors"            k-data-text-field="\'name\'"            k-data-value-field="\'id\'"            k-filter="\'contains\'"></select></div>');templateCache.put('/app/finance/filters/finance-number-filter-view.html','<div class="input-container" style="width: 100%">    <span>{{filterLabelName}}</span>    <input id="minNumber" style="width: 80px;"           k-ng-model="minNumber" kendo-numeric-text-box k-on-change="onChanged()"           k-min="-9999999" k-max="9999999999" k-step="1" k-options="{format: \'#.##\', decimals:2}">    <label> - </label>    <input id="maxNumber" style="width: 80px;"           k-ng-model="maxNumber" kendo-numeric-text-box k-on-change="onChanged()"           k-min="-9999999" k-max="9999999999" k-step="1" k-options="{format: \'#.##\', decimals:2}"></div>');templateCache.put('/app/finance/filters/finance-nurse-filter-view.html','<div class="input-container" style="width: 180px">    <span>{{filterLabelName}}</span>    <select id="nurse-drop" ng-model="filterValue"            k-on-change="onChanged()"            style="width:140px;"            kendo-drop-down-list=""            k-data-source="nurses"            k-data-text-field="\'name\'"            k-data-value-field="\'id\'"            k-filter="\'contains\'"></select></div>');templateCache.put('/app/finance/filters/finance-office-filter-view.html','<div>    <span style="float: left;padding-left: 10px;margin-top: 3px;">{{filterLabelName}}</span>    <div class="tree-container col-sm-8" style="width: 200px;margin-left:-10px">        <office-selector office-tree-data="officeTreeData"                         select-mode="officeOnly"                         selected-office-ids="selectedOfficeIds"                         on-selected="onOfficeSelected(selectedOffices)"></office-selector>    </div></div>');templateCache.put('/app/finance/filters/finance-onlineconsultant-filter-view.html','<div class="input-container" style="width: 180px">    <span>{{filterLabelName}}</span>    <select id="online-consultant-drop" ng-model="filterValue"            k-on-change="onChanged()"            style="width:140px;"            kendo-drop-down-list=""            k-data-source="onlineConsultants"            k-data-text-field="\'name\'"            k-data-value-field="\'id\'"            k-filter="\'contains\'"></select></div>');templateCache.put('/app/finance/filters/finance-patienttag-filter-view.html','<div class="input-container" style="width: 220px">    <span>{{filterLabelName}}</span>    <select id="payee-drop" ng-model="filterValue"            k-on-change="onChanged()"            style="width:140px;"            kendo-drop-down-list=""            k-data-source="tags"            k-data-text-field="\'itemName\'"            k-data-value-field="\'itemName\'"            k-filter="\'contains\'"></select></div>');templateCache.put('/app/finance/filters/finance-payee-filter-view.html','<div class="input-container" style="width: 200px">    <span>{{filterLabelName}}</span>    <select id="payee-drop" ng-model="filterValue"            k-on-change="onChanged()"            style="width:140px;"            kendo-drop-down-list=""            k-data-source="payees"            k-data-text-field="\'name\'"            k-data-value-field="\'id\'"            k-filter="\'contains\'"></select></div>');templateCache.put('/app/finance/filters/finance-paytype-filter-view.html','<div class="input-container" style="width: 220px">    <span>{{filterLabelName}}</span>    <select id="payType-drop" ng-model="filterValue"            k-on-change="onChanged()"            style="width:140px;"            kendo-drop-down-list=""            k-data-source="payTypes"            k-data-text-field="\'itemName\'"            k-data-value-field="\'itemName\'"            k-filter="\'contains\'"></select></div>');templateCache.put('/app/finance/filters/charge-item-filter/finance-itemname-filter-view.html','<div class="input-container product-search-input" style="width:240px;">    <span>{{filterLabelName}}</span>    <input id="item-drop" type="text" class="form-control" style="width:140px;"></div>');templateCache.put('/app/finance/filters/charge-item-filter/finance-itemstep-filter-view.html','<div class="input-container product-search-input" style="width:240px;">    <span>{{filterLabelName}}</span>    <input id="step-drop" type="text" class="form-control" style="width:140px;"></div>');templateCache.put('/app/finance/filters/charge-item-filter/finance-itemtype-filter-view.html','<div class="input-container product-search-input" style="width:240px;">    <span>{{filterLabelName}}</span>    <input id="categroy-drop" type="text" class="form-control" style="width:140px;"></div>');templateCache.put('/app/finance/filters/charge-item-filter/finance-superitemtype-filter-view.html','<div class="input-container product-search-input" style="width:240px;">    <span>{{filterLabelName}}</span>    <input id="supcategroy-drop" type="text" class="form-control" style="width:140px;"></div>');templateCache.put('/app/finance/filters/charge-item-free-field-filter/charge-item-free-field1-filter-view.html','<div class="input-container product-search-input" style="width:140px;">    <input id="freeFieldDrop" type="text" class="form-control" style="width:140px;"></div>');templateCache.put('/app/finance/filters/charge-item-free-field-filter/charge-item-free-field2-filter-view.html','<div class="input-container product-search-input" style="width:140px;">    <input id="freeField2Drop" type="text" class="form-control" style="width:140px;"></div>');templateCache.put('/app/finance/filters/charge-item-free-field-filter/charge-item-free-field3-filter-view.html','<div class="input-container product-search-input" style="width:140px;">    <input id="freeField3Drop" type="text" class="form-control" style="width:140px;"></div>');templateCache.put('/app/finance/filters/patient-source-type-filter/patient-sourcetype2-filter-view.html','<div class="input-container product-search-input" style="width:100%;">    <span>{{filterLabelName}}</span>    <input id="sourcetype2-drop" type="text" class="form-control" style="width:140px;"></div>');templateCache.put('/app/finance/filters/patient-source-type-filter/patient-sourcetype3-filter-view.html','<div class="input-container product-search-input" style="width:100%;">    <span>{{filterLabelName}}</span>    <input id="sourcetype3-drop" type="text" class="form-control" style="width:140px;"></div>');templateCache.put('/app/finance/views/account-statement-list-view.html','<div class="ares-main-content" ares-clean-kendo>    <div class="ares-page-header" style="margin-bottom:5px;">        <table>            <tr>                <!--<td style="width:120px"><h1 style="margin:0">对账单查询</h1></td>-->                <td style="width:80px">                    <label class="radio-inline">                        <input type="radio" name="dateType" ng-value="true" ng-click="radioCharge(true)" ng-model="defaultSelect">日查询                    </label><br />                    <label class="radio-inline">                        <input type="radio" name="dateType" ng-value="false" ng-click="radioCharge(false)" ng-model="defaultSelect">月查询                    </label>                </td>                <td style="width: 130px">                    <input id="startDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="timeSpan.startDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;">                </td>                <td style="padding-left: 5px; padding-right: 5px;" ng-hide="defaultSelect">-</td>                <td style="width: 130px; " ng-hide="defaultSelect">                    <input id="endDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="timeSpan.endDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px; ">                </td>                <td style="padding-left: 10px; padding-right: 10px; ">收费人</td>                <td style="width:260px">                    <input id="providerInput" type="text" class="form-control" style="width:255px">                </td>                <td>                    <button type="button" class="btn btn-default" ares-slow-click="refresh()">                        <span class="glyphicon glyphicon-refresh" aria-hidden="true"></span> 查询                    </button>                    <button type="button" class="btn btn-default" ares-slow-click="exportExcel()" ares-authorize="managementCenter.accountStatementExcel">                        导出Excel                    </button>                </td>            </tr>        </table>    </div>    <div id="AccountStatePrint"></div>    <table style="width:100%;">        <tr>            <td style="text-align:left;">总记录数:{{accountStatementList.length}}</td>        </tr>    </table></div>');templateCache.put('/app/finance/views/ali-payorder-detail.html','<div class="ares-main-content">    <div class="ares-page-header">        <table style="display:inline;">            <tr>                <!--<td style="width:120px"><h1 style="margin:0">支付宝交易记录</h1></td>-->                <td style="width:80px">                    <label class="radio-inline">                        <input type="radio" name="dateType" ng-value="true" ng-click="radioCharge(true)" ng-model="defaultSelect">日查询                    </label><br />                    <label class="radio-inline">                        <input type="radio" name="dateType" ng-value="false" ng-click="radioCharge(false)" ng-model="defaultSelect">月查询                    </label>                </td>                <td style="width: 130px">                    <input id="startDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="timeSpan.startDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;">                </td>                <td style="padding-left: 5px; padding-right: 5px;" ng-hide="defaultSelect">-</td>                <td style="width: 130px; " ng-hide="defaultSelect">                    <input id="endDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="timeSpan.endDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px; ">                </td>                <td style="padding-left: 10px; padding-right: 5px;">商家订单号</td>                <td>                    <input style="width: 180px;" id="outTradeNo" type="text" class="form-control" ng-model="criteria.outTradeNo">                </td>                <td style="padding-left: 10px; padding-right: 5px;">患者姓名</td>                <td>                    <input style="width: 100px;" id="patientName" type="text" class="form-control" ng-model="criteria.patientName">                </td>                <td>                    <button type="button" class="btn btn-default" ares-slow-click="search()" style="margin-left:20px;">                        <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 查询                    </button>                    <button type="button" class="btn btn-default" ares-slow-click="exportExcel()" ares-authorize="finance.aliPayOrderTransactionExcel">                        导出Excel                    </button>                </td>            </tr>        </table>        <span style="float:right;" ng-show="allowSealing">            <sealing-switcher bind-field="isBySealing"></sealing-switcher>        </span>    </div>    <div style="margin-top:2px;">        <div id="aliChargeDetailList" style="width:100%"></div>        <table style="width:100%;">            <tr>                <td style="text-align:left;">总记录数:{{pageData.length}}</td>            </tr>        </table>    </div></div>');templateCache.put('/app/finance/views/cash-flow-view.html','<div class="ares-main-content">    <div>        <table style="display:inline;">            <tr>                <!--<td style="width:120px"><h1 style="margin:0">现金流</h1></td>-->                <td style="padding-left: 10px; padding-right: 10px;">收费时间</td>                <td style="width: 130px">                    <input id="startDatePicker" type="text" class="form-control" kendo-date-time-picker k-ng-model="timeSpan.startDate" k-format="\'yyyy-MM-dd HH:mm\'" style="width: 190px;">                </td>                <td style="padding-left: 5px; padding-right: 5px;"><label>-</label></td>                <td style="width: 130px;">                    <input id="endDatePicker" type="text" class="form-control" kendo-date-time-picker k-ng-model="timeSpan.endDate" k-format="\'yyyy-MM-dd HH:mm\'" style="width: 190px;">                </td>                <td style="padding-left: 10px; padding-right: 10px;">                    <label class="radio-inline">                        <input type="radio" name="criteriaType" ng-value="0" ng-model="criteria.cashFlowType">汇总                    </label><br />                    <label class="radio-inline">                        <input type="radio" name="criteriaType" ng-value="1" ng-model="criteria.cashFlowType">明细                    </label>                </td>                <td ng-if="isGroup" style="padding-left: 10px; padding-right: 10px;">门店</td>                <td ng-if="isGroup">                    <div class="pull-left scheduler-button-container" style="top:0;">                        <input type="text" class="form-control" ng-model="selectedNamesMulti" placeholder="请选择门店" style="width: 100px" ng-readonly="true" ng-click="openOfficeGroupTestMultDialog()">                    </div>                </td>                <td>                    <button type="button" class="btn btn-default" ares-slow-click="search()" style="margin-left:20px;">                        <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 查询                    </button>                    <button type="button" class="btn btn-default" ares-slow-click="exportExcel()" ares-authorize="finance.cashFlowExcel">                        导出Excel                    </button>                </td>            </tr>        </table>    </div>    <div style="margin-top:2px;" ng-if="pageData">        <div id="detailList">            <div id="cashFlowList"></div>            <table style="width:100%;">                <tr>                    <td style="text-align:left;">总记录数:{{pageData.length}}</td>                </tr>            </table>        </div>    </div>    <div style="margin-top:10px;max-width:1600px;overflow-x:auto" ng-if="isGroup && !pageData">        <h2 style="margin-left:30px;">请先选择门店！</h2>    </div></div>');templateCache.put('/app/finance/views/cdt-charge-detail-view.html','<div class="ares-main-content">    <div class="ares-page-header">        <table>            <tr>                <td style="width:300px"><h1 style="margin:0">收入明细</h1></td>                <td style="padding-left: 10px; padding-right: 10px;">                    <select id="dataInput" class="not-ignore" kendo-drop-down-list style=" width:100px">                        <option value="0">本日</option>                        <option value="week">本周</option>                        <option value="month">本月</option>                        <option value="自定义">自定义</option>                    </select>                </td>                <td class="isHideData" style="width: 130px">                    <input id="startDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="timeSpan.startDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;">                </td>                <td class="isHideData" style="padding-left: 5px; padding-right: 5px;"><label>-</label></td>                <td class="isHideData" style="width: 130px; ">                    <input id="endDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="timeSpan.endDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px; ">                </td>                <td>                    <button type="button" class="btn btn-default" ares-slow-click="search()" style="margin-left:20px;">                        <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 查询                    </button>                    <button type="button" class="btn btn-default" ares-slow-click="exportExcel()">                        导出Excel                    </button>                </td>            </tr>        </table>    </div>    <div style="margin-top:10px;">        <div id="cdtChargeDetailList"></div>    </div></div>');templateCache.put('/app/finance/views/charge-account-check-home-view.html','<div class="finance-setting-plan-content" style="margin-top: -10px;">    <div class="finance-menu-view" data-step="1" data-intro="欢迎体验全新的财务对账报表。我们按照最新的支付方式配置更新了现有系统的报表计算逻辑，重新定义了营业收入（实收）和现金流报表，新增了费用类型报表" data-position="right">        <table class="finance-menu-table">            <tr>                  <td class="finance-menu-td">                    <div class="finance-menu-item" ng-class="activeMenu == \'finance.accountCheck.businessIncome\' ? \'finance-menu-active\' : \'finance-menu-normal\'" ng-click="selectPage(\'finance.accountCheck.businessIncome\',null)" data-step="2" data-intro="营业收入（原实收），不含预收类型数据，如储值卡充值、现金券或套餐券销售金额等；但包括会员卡销售和折扣券销售金额" data-position="right">营业收入</div>                </td>                   <td class="finance-menu-td">                    <div class="finance-menu-item" ng-class="activeMenu == \'finance.accountCheck.summmary\' && queryMode == \'PaymentType\' ? \'finance-menu-active\' : \'finance-menu-normal\'" ng-click="selectPage(\'finance.accountCheck.summmary\',\'PaymentType\')" data-step="3" data-intro="现金流报表按支付方式统计了所有当天的现金流入，包括预收类型数据，如储值卡充值、现金券或套餐券销售金额等，以及划扣类型收费项目金额" data-position="right" >现金流入</div>                </td>                <td class="finance-menu-td">                    <div class="finance-menu-item" ng-class="activeMenu == \'finance.accountCheck.summmary\' && queryMode == \'ItemSuperType\' ? \'finance-menu-active\' : \'finance-menu-normal\'" ng-click="selectPage(\'finance.accountCheck.summmary\',\'ItemSuperType\')"  data-step="4" data-intro="按收费大类汇总了当天所有营业收入" data-position="right">收费大类</div>                </td>                <td class="finance-menu-td">                    <div class="finance-menu-item" ng-class="activeMenu == \'finance.accountCheck.summmary\' && queryMode == \'FeeType\' ? \'finance-menu-active\' : \'finance-menu-normal\'" ng-click="selectPage(\'finance.accountCheck.summmary\',\'FeeType\')"  data-step="5" data-intro="按费用类型汇总了当天所有营业收入。费用类型可通过系统配置-收费项目-费用类型配置中启用，在收费项目配置中进行设置" data-position="right">费用类型</div>                </td>            </tr>        </table>    </div>    <div ng-if = "activeMenu == \'finance.accountCheck.businessIncome\'">         <new-charge-account-check-view></new-charge-account-check-view>    </div>     <div ng-if = "activeMenu == \'finance.accountCheck.summmary\' &&  queryMode == \'PaymentType\'">         <charge-account-check-summary-view query-mode = "PaymentType"></charge-account-check-summary-view>    </div>    <div ng-if = "activeMenu == \'finance.accountCheck.summmary\' &&  queryMode == \'ItemSuperType\'">         <charge-account-check-summary-view  query-mode ="ItemSuperType"></charge-account-check-summary-view>    </div>    <div ng-if = "activeMenu == \'finance.accountCheck.summmary\' &&  queryMode == \'FeeType\'">         <charge-account-check-summary-view  query-mode ="FeeType"></charge-account-check-summary-view>    </div></div>');templateCache.put('/app/finance/views/charge-account-check-summary-view.html','<div class="charge-account-check-summary-view enyo" ares-clean-kendo>    <style scoped>        .charge-account-check-summary-view .k-grid td {            text-align: left;        }        .charge-account-check-summary-view .k-grid .k-grid-content .cell-center {            text-align: center;        }        .charge-account-check-summary-view .k-grid .k-grid-content td .btn-group button {            border: none;            color: #00a6c9;            background: transparent;        }        .charge-account-check-summary-view .charge-detail-search .search-item .k-input {            box-shadow: none;        }        .charge-account-check-summary-view .charge-detail-search .search-item button.btn {            /* margin-left: 10px; */            height: 32px;        }        .charge-account-check-summary-view .charge-detail-grid {            min-height: 300px;        }        .charge-account-check-summary-view .edit-button {            cursor: pointer;        }        .charge-account-check-summary-view .checkbox-box {            line-height: 32px;        }        .charge-account-check-summary-view .checkbox-box .ares-checkbox {            vertical-align: text-top;        }        .charge-account-check-summary-view label {            font-weight: normal;        }                .charge-account-check-summary-view .charge-detail-grid {            min-height: 300px;        }        .charge-account-check-summary-view .charge-detail-grid .k-grid-content td span.label {            margin-left: 5px;        }        .charge-account-check-summary-view .search-wrap.search-more-body {            background-color: #eff7ff;            padding-top: 8px;            height: auto;            text-indent: 5px;            border-top: 1px solid #D6D9DF;            margin-bottom: 5px;            margin-top: 10px;        }        .charge-account-check-summary-view .search-wrap .search-item {            display: inline-block;            vertical-align: middle;        }        .charge-account-check-summary-view .customer-clue-footer {            background: #f3f7f7;            height: 50px;        }        .charge-account-check-summary-view .customer-clue-footer .footer-oper .action-btn {            line-height: 50px;            margin-right: 5px;        }        .charge-account-check-summary-view .footer-oper .select-ele {            line-height: 50px;        }        .charge-account-check-summary-view .footer-oper .select-all {            margin-left: 10px;        }        .charge-account-check-summary-view .footer-oper .select-all .select-text {            margin-left: 3px;        }        .charge-account-check-summary-view .footer-oper .selected-text {            margin-right: 10px;        }        .search-more-body {            position: relative;        }        .search-more-body .search-group .search-item label {            margin-right: 5px;            margin-bottom: 0;        }        .search-more-body .search-group {            margin-right: 10px;            margin-bottom: 10px;            /* height: 32px; */        }        .search-more-body .search-group .search-item-input {            text-indent: 0;            width: 140px;            /* height: 32px; */        }        .ares-lc-k-grid .k-grid .k-grid-header th.k-header {            background-color: #00a6c9;            border-right: 1px solid #D6D9DF;            border-radius: 0 !important;            color: #fff;        }        .ares-lc-k-grid .k-grid-header th.k-with-icon .k-link {            color: #fff;        }        .ares-lc-k-grid .k-grid-footer:focus {            outline: none;        }        .charge-detail-search  .search-item-title        {            float: left;            padding-top: 5px;            padding-right: 10px;        }        .charge-detail-search  .search-item-input        {            float: left;            margin-right: 10px;        }        .charge-detail-search        {            margin-top: 5px;        }    </style>    <div class="charge-detail-search clearfix">        <div class="search-group pull-left" style="margin-right: 10px;">           <!--  <div class="search-item-title">                <label>收费日期</label>            </div> -->             <div class="search-item search-item-input">                 <div class="btn-group" role="group" ng-if="!isAllowViewAccountCheck">                        <button type="button" class="btn btn-default no-outline" style="margin-right: 0px"  ng-click="navigate(-1)"><span class="glyphicon glyphicon-triangle-left" aria-hidden="true"></span></button>                        <input id="startDatePicker" type="text" class="form-control" style = "float:left" kendo-date-picker k-ng-model="timeSpan.startDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;">                        <button type="button" class="btn btn-default no-outline" style="margin-left: 0px" ng-click="navigate(1)"><span class="glyphicon glyphicon-triangle-right" aria-hidden="true"></span></button>                 </div>                 <div  ng-if="isAllowViewAccountCheck">                     <timer-range-picker time-range-date="timeSpan"></timer-range-picker>                 </div>                                </div>            <div class="search-item search-item-input" ng-if = "queryMode == \'ItemSuperType\'">              <!--   <div class="search-item-title">                    <label>收费大类</label>                </div> -->                <div class="search-item search-item-input">                    <input type="text" class="form-control" id="itemSuperType" style="width: 120px;" >                </div>            </div>            <div class="search-item search-item-input" ng-if = "queryMode == \'FeeType\'">               <!--      <div class="search-item-title">                        <label>费用类型</label>                    </div> -->                    <div class="search-item search-item-input">                        <input style="width: 120px;" id="chargeItemPayCategory" type="text" class="form-control">                    </div>            </div>        </div>        <div class="search-item pull-right">            <button type="button" class="btn btn-default btn-primary" ares-slow-click="search()" >                <!-- <span class="glyphicon glyphicon-search" aria-hidden="true"></span> -->                查询            </button>            <button type="button" class="btn btn-default" ares-slow-click="exportExcel()" >                导出            </button>            <button type="button" class="btn btn-default" ng-click="printChargeOrder()">               <!-- <span class="glyphicon glyphicon-print" aria-hidden="true"></span> -->                打印            </button>        </div>    </div>    <div style="margin-top: 5px;" ng-if="pageData">        <div id="detailList">            <div id="chargeAccountCheckSummaryGrid"></div>        </div>    </div>    <account-check-print-template-view></account-check-print-template-view></div>');templateCache.put('/app/finance/views/charge-account-check-view.html','<div class="ares-main-content" ares-clean-kendo>    <div>        <table style="display:inline;">            <tr>                <!--<td style="width:120px"><h1 style="margin:0">每日对账</h1></td>-->                <td style="padding-right:10px;">收费日期</td>                <td>                   <div class="btn-group" role="group">                        <button type="button" class="btn btn-default no-outline"  ng-click="navigate(-1)"><span class="glyphicon glyphicon-triangle-left" aria-hidden="true"></span></button>                        <input id="startDatePicker" type="text" class="form-control" style = "float:left" kendo-date-picker k-ng-model="timeSpan.startDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;">                        <button type="button" class="btn btn-default no-outline"  ng-click="navigate(1)"><span class="glyphicon glyphicon-triangle-right" aria-hidden="true"></span></button>                    </div>                </td>                <td style="padding-left: 10px; padding-right: 10px; ">状态</td>                <td style="padding-right: 10px; ">                    <select id="statusInput" class="not-ignore" kendo-drop-down-list style=" width: 85px; margin-left: 10px">                        <option value="全部" selected="selected">全部</option>                        <option value="已收费">已收费</option>                        <option value="退费">退费</option>                    </select>                </td>                <td style="width:100px">                    <label class="radio-inline">                        <input type="radio" name="isPayee" ng-value="false" ng-model="isPayee">医&nbsp;&nbsp;&nbsp;生                    </label>                    <br />                    <label class="radio-inline">                        <input type="radio" name="isPayee" ng-value="true" ng-model="isPayee">收款人                    </label>                </td>                <td>                    <button type="button" class="btn btn-default" ares-slow-click="search()" style="margin-left:20px;">                        <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 查询                    </button>                    <button type="button" class="btn btn-default" ares-authorize="finance.everydayCheckExcel" ares-slow-click="exportExcel()">                        导出Excel                    </button>                </td>            </tr>                    </table>        <span style="float:right;" ng-show="allowSealing">            <sealing-switcher bind-field="isBySealing"></sealing-switcher>        </span>    </div>    <div style="margin-top:2px;">        <div id="detailList"  >            <div id="chargeDetailList" ng-show="showDoctor"></div>            <div id="payeeChargeDetailList" ng-show="!showDoctor"></div>            <table style="width:100%;">                <tr>                    <td style="text-align:left;">总记录数:{{pageData.length}}</td>                </tr>            </table>        </div>    </div></div>');templateCache.put('/app/finance/views/charge-customize-report-view.html','<div class="ares-main-content" ares-clean-kendo>    <style>        .template-select {            background-color: #808080;            color: white;        }        .template-unselect {            background-color: white;            color: black;        }        .global-template {            padding: 5px;            background-color: #2ffb26;        }        .tenant-template {            padding: 5px;            background-color: #f5fe32;        }        .office-template {            padding: 5px;            background-color: #ff7b49;        }    </style>    <div class="ares-page-content" id="charge-item-edit-wrap">        <div ng-hide="reportNames.length>0">            <h2>请先联系领健工作人员帮您配置高级报表！</h2>        </div>        <div class="table-responsive row" ng-show="reportNames.length>0">            <div class="col-md-2">                <div class="panel panel-default">                    <div class="panel-heading" style="padding-right:5px;padding-left:5px;background-color: white;">                        <div ng-repeat="dto in reportNames" style="margin-top:10px;height:30px" ares-authorize="{{dto.permissionCode}}">                            <span style="white-space: nowrap;display: inline-block;width: 100%;overflow: hidden;text-overflow: ellipsis;line-height: 0.9;">                                <span class="{{dto.showClass}}" style="margin-left:5px">{{dto.levelName}}</span>                                <span style="cursor:pointer;line-height:30px;padding:5px;" ng-click="onTemplateClick(dto)"                                      ng-class="dto.isSelect? \'template-select\':\'template-unselect\'">                                    {{dto.desc}}                                </span>                            </span>                        </div>                    </div>                </div>            </div>            <div class="col-md-10">                <div class="panel panel-default" style="margin-top:10px;">                    <customize-report-container-view report-name="{{selectTemplateName}}"></customize-report-container-view>                </div>            </div>        </div>    </div></div>');templateCache.put('/app/finance/views/charge-detail-dialog.html','<div ares-modal-dragable ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">收费明细</h4>    </div>    <div class="modal-body">        <div id="chargeDetailList"></div>        <div ng-show="pageData.pageCount > 1" style="margin-top: -15px">            <div pagination total-items="pageData.totalCount" items-per-page="pageData.pageSize"                 ng-model="pageIndex" ng-change="onPageChanged(pageIndex)"                 max-size="maxPageCount" first-text="第一页" previous-text="前一页" next-text="后一页" last-text="最后一页" rotate="true"                 class="pagination" boundary-links="true"></div>        </div>    </div>    <div class="modal-footer ares-dialog-footer" style="border-left: 0px; border-right: 0px ; ">        <button type="button" class="btn btn-default" ng-click="cancel()">关闭</button>    </div></div>');templateCache.put('/app/finance/views/charge-detail-view.html','<div class="charge-detail-view enyo" ares-clean-kendo>    <style scoped>        .charge-detail-view .k-grid td {            text-align: left;        }        .charge-detail-view .k-grid .k-grid-content .cell-center {            text-align: center;        }        .charge-detail-view .k-grid .k-grid-content td .btn-group button {            border: none;            color: #00a6c9;            background: transparent;        }        .charge-detail-view .charge-detail-search .search-item .k-input {            box-shadow: none;        }        .charge-detail-view .charge-detail-search .search-item button.btn {            margin-left: 10px;            height: 32px;        }        .charge-detail-view .charge-detail-grid {            min-height: 300px;        }        .charge-detail-view .edit-button {            cursor: pointer;        }        .charge-detail-view .checkbox-box {            line-height: 32px;        }        .charge-detail-view .checkbox-box .ares-checkbox {            vertical-align: text-top;        }        .charge-detail-view label {            font-weight: normal;        }                .charge-detail-view .charge-detail-grid {            min-height: 300px;        }        .charge-detail-view .charge-detail-grid .k-grid-content td span.label {            margin-left: 5px;        }        .charge-detail-view .search-wrap.search-more-body {            background-color: #eff7ff;            padding-top: 8px;            height: auto;            text-indent: 5px;            border-top: 1px solid #D6D9DF;            margin-bottom: 5px;            margin-top: 10px;        }        .charge-detail-view .search-wrap .search-item {            display: inline-block;            vertical-align: middle;        }        .charge-detail-view .customer-clue-footer {            background: #f3f7f7;            height: 50px;        }        .charge-detail-view .customer-clue-footer .footer-oper .action-btn {            line-height: 50px;            margin-right: 5px;        }        .charge-detail-view .footer-oper .select-ele {            line-height: 50px;        }        .charge-detail-view .footer-oper .select-all {            margin-left: 10px;        }        .charge-detail-view .footer-oper .select-all .select-text {            margin-left: 3px;        }        .charge-detail-view .footer-oper .selected-text {            margin-right: 10px;        }        .search-more-body {            position: relative;        }        .search-more-body .search-group .search-item label {            margin-right: 5px;            margin-bottom: 0;        }        .search-more-body .search-group {            margin-right: 10px;            margin-bottom: 10px;            float: none;             min-height: 0px;             display: inline-block;             vertical-align: top;        }        .search-more-body .search-group .search-item-input {            text-indent: 0;            display: inline-block        }        .search-more-body .icon-btn {            position: absolute;            right: 10px;            top: 15px;        }        .search-more-body .icon-btn i {            font-size: 17px;            color: #9397a2;            cursor: pointer;        }        .search-more-body .search-item-title        {            padding-top: 5px;            padding-right: 10px;            display: inline-block;            width: 100px;            text-align: right;        }        .search-more-body  .search-item-input        {            display: inline-block;            width: 200px;        }        .charge-detail-search  .search-item-title        {            float: left;            padding-top: 5px;            padding-right: 10px;        }        .charge-detail-search  .search-item-input        {            float: left;        }                .ares-lc-k-grid .k-grid .k-grid-header th.k-header {            background-color: #00a6c9;            border-right: 1px solid #D6D9DF;            border-radius: 0 !important;            color: #fff;        }        .ares-lc-k-grid .k-grid-header th.k-with-icon .k-link {            color: #fff;        }        .ares-lc-k-grid .k-grid-footer:focus {            outline: none;        }       .search-more-body .search-box        {            padding-left: 0px !important;            padding-right : 0px !important;        }        .charge-detail-view .search-more-body .patient-input-box .form-group        {            width: 220px;        }    </style>    <div class="charge-detail-search clearfix">        <div class="search-group pull-left" style="margin-right: 10px;">            <div class="search-item-title">                <label>账单日期</label>            </div>            <div class="search-item search-item-input">               <div style="float: left;margin-top: -5px;">                    <span>                        <label class="radio-inline">                            <input type="radio" name="dateType" ng-value="true" ng-click="radioCharge(true)" ng-model="defaultSelect">日查询                        </label>                        <br />                        <label class="radio-inline">                            <input type="radio" name="dateType" ng-value="false" ng-click="radioCharge(false)" ng-model="defaultSelect">月查询                        </label>                    </span>                </div>                <div style="float: left">                    <input ng-show="defaultSelect" id="startDatePicker" type="text" class="form-control"                        kendo-date-picker k-ng-model="timeSpan.startTime"                        k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']"                        style="width: 130px;">                    <input ng-hide="defaultSelect" id="startTimePicker" type="text" class="form-control"                        kendo-date-time-picker k-ng-model="timeSpan.startTime"                        k-format="\'yyyy-MM-dd HH:mm\'" k-culture="zh-CN"                        style="width: 190px;">                    <span style="padding: 4px" ng-hide="defaultSelect">-</span>                    <input ng-hide="defaultSelect" id="endTimePicker" type="text" class="form-control"                        kendo-date-time-picker k-ng-model="timeSpan.endTime"                        k-format="\'yyyy-MM-dd HH:mm\'" k-culture="zh-CN"                        style="width: 190px;">                </div>                        </div>        </div>        <div class="search-group pull-left" style="margin-right: 10px;">            <div class="search-item-title">                <label>初诊日期</label>            </div>            <div class="search-item search-item-input">                <select id="daysBeforeTodayInput" class="not-ignore" kendo-drop-down-list style="width: 100px" ng-model="range" ng-change="initApptFirstVisitTimePeriod()">                    <option value="all">全部</option>                    <option value="today">本日</option>                    <option value="month">本月</option>                    <option value="customize">自定义</option>                </select>            </div>        </div>        <div class="search-group pull-left" style="margin-right: 10px;">            <div class="search-item search-item-input">                <input ng-hide="isHideCustomize" id="firstVisitMonthStartDatePicker" type="text" class="form-control serch-item-input-text"                    kendo-date-picker k-ng-model="timeSpanFirstVisit.startTime"                    k-format="\'yyyy-MM-dd\'" k-culture="zh-CN"                    style="width: 130px;">                <span style="padding: 4px" ng-hide="isHideCustomize">-</span>                <input ng-hide="isHideCustomize" id="firstVisitEndDatePicker" type="text" class="form-control serch-item-input-text"                    kendo-date-picker k-ng-model="timeSpanFirstVisit.endTime"                    k-format="\'yyyy-MM-dd\'" k-culture="zh-CN"                    style="width: 130px;">            </div>        </div>        <div class="search-group pull-left" style="margin-right: 10px;" ng-if="isGroup">            <div class="search-item-title">                <label>门店</label>            </div>            <div class="search-item search-item-input">                <input type="text" class="form-control serch-item-input-text" ng-model="selectedNamesMulti" placeholder="请选择门店" style="width: 100px" ng-readonly="true" ng-click="openOfficeGroupTestMultDialog()">            </div>        </div>        <div class="search-group pull-left" style="margin-right: 10px;">            <div class="search-item search-item-input">            </div>        </div>        <div class="search-item pull-left">            <span class="btn more-search enyo-text-primary" style="line-height: 32px;" ng-click="switchMode()">更多筛选 <i class="fa fa-caret-down"></i></span>        </div>        <div class="search-item pull-right">            <button type="button" class="btn btn-default" ares-slow-click="search()">                <span class="glyphicon glyphicon-search" aria-hidden="true"></span>查询            </button>            <button type="button" class="btn btn-default" ares-slow-click="exportExcel()" ng-show="canExport" ng-disabled="pageData.length<=0">                导出Excel            </button>            <button type="button" class="btn btn-default" ng-click="printChargeDetailReport()" ng-disabled="pageData.length<=0" ng-if="!isGroup">                <span class="glyphicon glyphicon-print" aria-hidden="true"></span>打印            </button>        </div>    </div>    <div class="search-wrap search-more-body clearfix" ng-show="searchMode">        <div class="icon-btn" ng-click="searchMode = false;"><i class="iconfont icon-guanbi"></i></div>        <div class="search-group " ng-if="!isGroup">            <div class="search-item-title">                <label>医生</label>            </div>            <div class="search-item search-item-input">                <input  id="doctor" type="text" class="form-control serch-item-input-text">            </div>        </div>        <div class="search-group " ng-if="!isGroup">            <div class="search-item-title">                <label>销售人员</label>            </div>            <div class="search-item search-item-input">                <input  id="seller" type="text" class="form-control serch-item-input-text">            </div>        </div>        <div class="search-group " ng-if="!isGroup">            <div class="search-item-title">                <label>护士</label>            </div>            <div class="search-item search-item-input">                <input  id="nurses" type="text" class="form-control serch-item-input-text">            </div>        </div>        <div class="search-group " ng-if="allowUseConsultant && !isGroup && !isPrivate">            <div class="search-item-title">                <label>咨询师</label>            </div>            <div class="search-item search-item-input">                <input  id="consultants" type="text" class="form-control serch-item-input-text">            </div>        </div>        <div class="search-group " ng-if="!isGroup">            <div class="search-item-title">                <label>网电咨询师</label>            </div>            <div class="search-item search-item-input">                <input id="onlineConsultants" type="text" class="form-control serch-item-input-text">            </div>        </div>        <div class="search-group " ng-if="!isGroup">            <div class="search-item-title">                <label>患者标签 </label>            </div>            <div class="search-item search-item-input">                <select class="not-ignore form-control serch-item-input-text" id="patientTag" ></select>            </div>        </div>                              <div class="search-group " ng-if="!isGroup">            <div class="search-item-title">                <label>收费项目</label>            </div>            <div class="search-item search-item-input">                <input type="text" class="form-control serch-item-input-text" ng-model="viewStatus.chargeItemNames" ng-readonly="true" ng-click="showItemsDlg()">            </div>        </div>        <div class="search-group " ng-if="!isGroup">            <div class="search-item-title">                <label>费用类型</label>            </div>            <div class="search-item search-item-input">                <input  id="chargeItemPayCategory" type="text" class="form-control serch-item-input-text">            </div>        </div>        <div class="search-group " ng-if="!isGroup">            <div class="search-item-title">                <label>收款人</label>            </div>            <div class="search-item search-item-input">                <input  id="payee" type="text" class="form-control serch-item-input-text">            </div>        </div>        <div class="search-group " ng-if="!isGroup">            <div class="search-item-title">                <label>收费方式</label>            </div>            <div class="search-item search-item-input">                <input  id="payType" type="text" class="form-control serch-item-input-text">            </div>        </div>        <div class="search-group " ng-if="!isGroup">            <div class="search-item-title">                <label>单据号</label>            </div>            <div class="search-item search-item-input">                <input style="width: 120px; height: 30px" id="billNo" type="text" class="form-control serch-item-input-text">            </div>        </div>        <div class="search-group " ng-if="!isGroup">            <div class="search-item-title">                <label>患者</label>            </div>            <div class="search-item search-item-input" style="width: 200px">                 <ares-patient-search on-patient-selected="onPatientChanged" on-patient-cleared="onPatientCleared"                is-global-search="false"                allow-create-new="false"                hide-result-if-empty="true"                info-text-format="找到{0} 个包含 {1} 的患者,选择一个患者" class="patient-input-box"></ares-patient-search>            </div>        </div>        <div class="search-group " ng-if="!isGroup">            <div class="search-item-title">                <label>收费状态</label>            </div>            <div class="search-item search-item-input" style="padding-top: 5px; width: 300px">                <label>                    <input type="checkbox" checked="checked" name="statusInput" value="0">收费                </label>                <label>                    <input type="checkbox" checked="checked" name="statusInput" value="1">退费                </label>                <label>                    <input type="checkbox" checked="checked" name="statusInput" value="2,5">收欠费                </label>                <label>                    <input type="checkbox" checked="checked" name="statusInput" value="3">部分退费                </label>                <label>                    <input type="checkbox" checked="checked" name="statusInput" value="6">作废                </label>            </div>        </div>         <div class="search-group " ng-if="!isGroup">            <div class="search-item-title" style="vertical-align: top; padding-top: 0px;">                <label style="display: block; margin-bottom: 0px;">                    <input type="radio" name="sourceType" ng-value="true" ng-click="radioSource(true)" ng-model="defaultSourceSelect" value="true">患者来源                    </label>                <label>                    <input type="radio" name="sourceType" ng-value="false" ng-click="radioSource(false)" ng-model="defaultSourceSelect" value="false">就诊来源                                </label>            </div>            <div class="search-item search-item-input" style="width: 370px;" >                <input id="sourceTypeOne" type="text" class="form-control serch-item-input-text" >                <input id="sourceTypeTwo" type="text" class="form-control serch-item-input-text" >                <input id="sourceTypeThree" type="text" class="form-control serch-item-input-text" >            </div>        </div>        <div class="search-group " ng-if="!isGroup">            <div class="search-item-title">                <label>整单折扣率</label>            </div>            <div class="search-item search-item-input" style="width: 200px">                <input id="orderMinDiscount" style="width: 80px; height: 32px;"                    k-ng-model="orderDiscount.orderMinDiscount" kendo-numeric-text-box                    k-min="0" k-max="100" k-step="1" k-options="{format: \'#.##\', decimals:2}">                <label>- </label>                <input id="orderMaxDiscount" style="width: 80px; height: 32px;"                    k-ng-model="orderDiscount.orderMaxDiscount" kendo-numeric-text-box                    k-min="0" k-max="100" k-step="1" k-options="{format: \'#.##\', decimals:2}">            </div>        </div>              <div class="search-group " ng-if="isGroup" style="width: 510px">            <div class="search-item-title">                <label>患者 </label>            </div>            <div class="search-item search-item-input">                                 <ares-patient-search on-patient-selected="onPatientChanged" on-patient-cleared="onPatientCleared"                        is-global-search="false"                        allow-create-new="false"                        hide-result-if-empty="true"                        info-text-format="找到{0} 个包含 {1} 的患者,选择一个患者"></ares-patient-search>                            </div>        </div>        <div class="search-group " ng-if="isGroup">            <div class="search-item-title">                <label>收费状态</label>            </div>            <div class="search-item search-item-input" style="padding-top: 5px; width: 300px">                <label>                    <input type="checkbox" checked="checked" name="statusInput" value="0">收费                </label>                <label>                    <input type="checkbox" checked="checked" name="statusInput" value="1">退费                </label>                <label>                    <input type="checkbox" checked="checked" name="statusInput" value="2,5">收欠费                </label>                <label>                    <input type="checkbox" checked="checked" name="statusInput" value="3">部分退费                </label>                <label>                    <input type="checkbox" checked="checked" name="statusInput" value="6">作废                </label>            </div>        </div>    </div>    <div style="margin-top: 10px;" ng-if="!isGroup || pageData">        <div class="ares-lc-k-grid">            <div id="chargeDetailList" class="charge-detail-grid"></div>        </div>        <div style="display: none">            <div id="chargeDetaillistprint"></div>        </div>    </div>    <div style="margin-top: 10px; max-width: 1600px; overflow-x: auto" ng-if="isGroup && !pageData">        <h2 style="margin-left: 30px;">请先选择门店！</h2>    </div>    <notification-upload-success></notification-upload-success></div>');templateCache.put('/app/finance/views/charge-discount-view.html','<div class="ares-main-content" ares-clean-kendo>    <div style="margin-top:10px;">        <div class="form-group" style="padding-left:10px; margin-top:10px;height:34px;">            <table>                <tr>                    <!--<td style="width:120px"><h1 style="margin:0">医生收费明细</h1></td>-->                    <td style="width:70px">                        <label class="radio-inline">                            <input type="radio" name="dateType" ng-value="true" ng-model="defaultSelect">日查询                        </label><br />                        <label class="radio-inline">                            <input type="radio" name="dateType" ng-value="false" ng-model="defaultSelect">月查询                        </label>                    </td>                    <td>                        <table>                            <tr>                                <td style="width: 130px" ng-show="defaultSelect">                                    <input id="startDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="timeSpan.startTime" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;">                                </td>                                <td style="width: 130px" ng-hide="defaultSelect">                                    <input id="startTimePicker" type="text" class="form-control" kendo-date-picker k-ng-model="timeSpan.startTime" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;">                                </td>                                <td style="padding-left: 5px; padding-right: 5px;" ng-hide="defaultSelect">-</td>                                <td style="width: 130px; " ng-hide="defaultSelect">                                    <input id="endTimePicker" type="text" class="form-control" kendo-date-picker k-ng-model="timeSpan.endTime" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;">                                </td>                            </tr>                        </table>                    </td>                    <td>                        <ares-patient-search on-patient-selected="onPatientChanged" on-patient-cleared="onPatientCleared"                                             is-global-search="false"                                             allow-create-new="false"                                             hide-result-if-empty="true"                                             info-text-format="找到{0} 个包含 {1} 的患者,选择一个患者"></ares-patient-search>                    </td>                    <td style="padding-left: 10px; padding-right: 5px; width:380px;">                        <button type="button" class="btn btn-default" ares-slow-click="onSearch()" style="margin-left:20px;">                            <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 查询                        </button>                        <button type="button" class="btn btn-default" ares-slow-click="exportExcel()" ares-authorize="finance.chargeDiscountExcel" style="margin-left:15px;" ng-disabled="pageExpenditures.items.length <= 0">                            导出Excel                        </button>                    </td>                </tr>            </table>            <div id="chargeDiscountList" style="width:100%;margin-top:10px;">            </div>        </div>    </div>    <notification-upload-success></notification-upload-success></div>');templateCache.put('/app/finance/views/charge-item-detail-view.html','<div class="charge-item-detail-view enyo" ares-clean-kendo>    <style scoped>        .charge-item-detail-view .k-grid td {            text-align: left;        }        .charge-item-detail-view .k-grid .k-grid-content .cell-center {            text-align: center;        }        .charge-item-detail-view .k-grid .k-grid-content td .btn-group button {            border: none;            color: #00a6c9;            background: transparent;        }        .charge-item-detail-view .charge-item-detail-search .search-item .k-input {            box-shadow: none;        }        .charge-item-detail-view .charge-item-detail-search .search-item button.btn {            margin-left: 10px;            height: 32px;        }        .charge-item-detail-view .charge-item-detail-grid {            min-height: 300px;        }        .charge-item-detail-view .edit-button {            cursor: pointer;        }        .charge-item-detail-view .checkbox-box {            line-height: 32px;        }        .charge-item-detail-view .checkbox-box .ares-checkbox {            vertical-align: text-top;        }        .charge-item-detail-view label {            font-weight: normal;        }                .charge-item-detail-view .charge-item-detail-grid {            min-height: 300px;        }        .charge-item-detail-view .charge-item-detail-grid .k-grid-content td span.label {            margin-left: 5px;        }        .charge-item-detail-view .search-wrap.search-more-body {            background-color: #eff7ff;            padding-top: 8px;            height: auto;            text-indent: 5px;            border-top: 1px solid #D6D9DF;            margin-bottom: 5px;            margin-top: 10px;        }        .charge-item-detail-view .search-wrap .search-item {            display: inline-block;            vertical-align: middle;        }        .charge-item-detail-view .customer-clue-footer {            background: #f3f7f7;            height: 50px;        }        .charge-item-detail-view .customer-clue-footer .footer-oper .action-btn {            line-height: 50px;            margin-right: 5px;        }        .charge-item-detail-view .footer-oper .select-ele {            line-height: 50px;        }        .charge-item-detail-view .footer-oper .select-all {            margin-left: 10px;        }        .charge-item-detail-view .footer-oper .select-all .select-text {            margin-left: 3px;        }        .charge-item-detail-view .footer-oper .selected-text {            margin-right: 10px;        }        .search-more-body {            position: relative;        }        .search-more-body .search-group .search-item label {            margin-right: 5px;            margin-bottom: 0;        }        .search-more-body .search-group {            margin-right: 10px;            margin-bottom: 10px;            float: none;             min-height: 0px;             display: inline-block;             vertical-align: top;        }        .search-more-body .search-group .search-item-input {            text-indent: 0;            display: inline-block        }            .search-more-body .icon-btn {            position: absolute;            right: 10px;            top: 15px;        }        .search-more-body .icon-btn i {            font-size: 17px;            color: #9397a2;            cursor: pointer;        }       .search-more-body .search-item-title        {            padding-top: 5px;            padding-right: 10px;            display: inline-block;            width: 100px;            text-align: right;        }        .search-more-body  .search-item-input        {            display: inline-block;            width: 200px;        }               .ares-lc-k-grid .k-grid .k-grid-header th.k-header {            background-color: #00a6c9;            border-right: 1px solid #D6D9DF;            border-radius: 0 !important;            color: #fff;        }        .ares-lc-k-grid .k-grid-header th.k-with-icon .k-link {            color: #fff;        }        .ares-lc-k-grid .k-grid-footer:focus {            outline: none;        }    </style>    <div class="charge-item-detail-search clearfix">        <div class="search-group pull-left" style="margin-right: 10px;">            <div class="search-item-title">                <label>账单日期</label>            </div>            <div class="search-item search-item-input">                <div style="float: left;margin-top: -5px;">                    <span>                        <label class="radio-inline">                            <input type="radio" name="dateType" ng-value="true" ng-click="radioCharge(true)" ng-model="defaultSelect">日查询                        </label>                        <br />                        <label class="radio-inline">                            <input type="radio" name="dateType" ng-value="false" ng-click="radioCharge(false)" ng-model="defaultSelect">月查询                        </label>                    </span>                </div>                 <div style="float: left">                    <input ng-show="defaultSelect" id="startDatePicker" type="text" class="form-control"                        kendo-date-picker k-ng-model="timeSpan.startTime"                        k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']"                        style="width: 130px;">                    <input ng-hide="defaultSelect" id="startTimePicker" type="text" class="form-control"                        kendo-date-time-picker k-ng-model="timeSpan.startTime"                        k-format="\'yyyy-MM-dd HH:mm\'" k-culture="zh-CN"                        style="width: 190px;">                    <span style="padding: 4px" ng-hide="defaultSelect">-</span>                    <input ng-hide="defaultSelect" id="endTimePicker" type="text" class="form-control"                        kendo-date-time-picker k-ng-model="timeSpan.endTime"                        k-format="\'yyyy-MM-dd HH:mm\'" k-culture="zh-CN"                        style="width: 190px;">                </div>            </div>        </div>        <div class="search-group pull-left" style="margin-right: 10px;" ng-if="isGroup">            <div class="search-item search-item-input">                <input type="text" class="form-control serch-item-input-text" ng-model="selectedNamesMulti" placeholder="请选择门店" style="width: 100px" ng-readonly="true" ng-click="openOfficeGroupTestMultDialog()">            </div>        </div>        <div class="search-group ">            <div class="search-item search-item-input">                <ares-patient-search on-patient-selected="onPatientChanged" on-patient-cleared="onPatientCleared"                    is-global-search="false"                    allow-create-new="false"                    hide-result-if-empty="true"                    info-text-format="找到{0} 个包含 {1} 的患者,选择一个患者"></ares-patient-search>            </div>        </div>        <div class="search-item pull-left">            <span class="btn more-search enyo-text-primary" style="line-height: 32px;" ng-click="switchMode()">更多筛选 <i class="fa fa-caret-down"></i></span>        </div>        <div class="search-item pull-right">            <button type="button" class="btn btn-default" ares-slow-click="search()">                <span class="glyphicon glyphicon-search" aria-hidden="true"></span>查询            </button>            <button type="button" class="btn btn-default" ares-slow-click="exportExcel()" ng-show="canExport" ng-disabled="pageData.length<=0">                导出Excel            </button>        </div>    </div>    <div class="search-wrap search-more-body clearfix" ng-show="searchMode">        <div class="icon-btn" ng-click="searchMode = false;"><i class="iconfont icon-guanbi"></i></div>        <div class="search-group " ng-if="!isGroup">            <div class="search-item-title">                <label>医生</label>            </div>            <div class="search-item search-item-input">                <input id="doctor" type="text" class="form-control serch-item-input-text">            </div>        </div>        <div class="search-group " ng-if="!isGroup">            <div class="search-item-title">                <label>                    护士                </label>            </div>            <div class="search-item search-item-input">                <input id="nurses" type="text" class="form-control serch-item-input-text">            </div>        </div>        <div class="search-group " ng-if="allowUseConsultant && !isGroup && !isPrivate">            <div class="search-item-title">                <label>咨询师</label>            </div>            <div class="search-item search-item-input">                <input id="consultants" type="text" class="form-control serch-item-input-text">            </div>        </div>        <div class="search-group " ng-if="!isGroup">            <div class="search-item-title">                <label>网电咨询师</label>            </div>            <div class="search-item search-item-input">                <input id="onlineConsultants" type="text" class="form-control serch-item-input-text">            </div>        </div>        <div class="search-group " ng-if="!isGroup">            <div class="search-item-title">                <label>                    收费项目                </label>            </div>            <div class="search-item search-item-input">                <input type="text" class="form-control serch-item-input-text" ng-model="viewStatus.chargeItemNames" ng-readonly="true" ng-click="showItemsDlg()">            </div>        </div>        <div class="search-group " ng-if="!isGroup">            <div class="search-item-title">                <label>                    费用类型                </label>            </div>            <div class="search-item search-item-input">                <input id="chargeItemPayCategory" type="text" class="form-control serch-item-input-text">            </div>        </div>        <div class="search-group ">            <div class="search-item-title">                <label>                    收款人                </label>            </div>            <div class="search-item search-item-input">                <input id="payee" type="text" class="form-control serch-item-input-text">            </div>        </div>        <div class="search-group ">            <div class="search-item-title">                <label>                    患者标签                </label>            </div>            <div class="search-item search-item-input">                <select class="not-ignore form-control serch-item-input-text" id="patientTag"></select>            </div>        </div>        <div class="search-group " ng-if="!isGroup">            <div class="search-item-title">                <label>                    单据号                </label>            </div>            <div class="search-item search-item-input">                <input id="billNo" type="text" class="form-control serch-item-input-text">            </div>        </div>        <div class="search-group ">            <div class="search-item-title">                <label>                    销售人员                </label>            </div>            <div class="search-item search-item-input">                <input id="seller" type="text" class="form-control serch-item-input-text">            </div>        </div>        <div class="search-group ">            <div class="search-item-title">                <label>整单折扣率</label>            </div>            <div class="search-item search-item-input" style="width: 200px">                <input id="orderMinDiscount" style="width: 80px;"                    k-ng-model="orderMinDiscount" kendo-numeric-text-box                    k-min="0" k-max="100" k-step="1" k-options="{format: \'#.##\', decimals:2}">                <label>- </label>                <input id="orderMaxDiscount" style="width: 80px;"                    k-ng-model="orderMaxDiscount" kendo-numeric-text-box                    k-min="0" k-max="100" k-step="1" k-options="{format: \'#.##\', decimals:2}">            </div>        </div>        <div class="search-group ">            <div class="search-item-title">                <label>单项折扣率</label>            </div>            <div class="search-item search-item-input" style="width: 200px">                <input id="detailMinDiscount" style="width: 80px;"                    k-ng-model="detailMinDiscount" kendo-numeric-text-box                    k-min="0" k-max="100" k-step="1" k-options="{format: \'#.##\', decimals:2}">                <label>- </label>                <input id="detailMaxDiscount" style="width: 80px;"                    k-ng-model="detailMaxDiscount" kendo-numeric-text-box                    k-min="0" k-max="100" k-step="1" k-options="{format: \'#.##\', decimals:2}">            </div>        </div>        <div class="search-group " ng-if="!isGroup">            <div class="search-item-title" style="vertical-align: top; padding-top: 0px;">                <label style="display: block; margin-bottom: 0px;">                    <input type="radio" name="sourceType" ng-value="true" ng-click="radioSource(true)" ng-model="defaultSourceSelect" value="true">患者来源                    </label>                <label>                    <input type="radio" name="sourceType" ng-value="false" ng-click="radioSource(false)" ng-model="defaultSourceSelect" value="false">就诊来源                                </label>            </div>            <div class="search-item search-item-input" style="width: 515px;">                <input id="sourceTypeOne" type="text" class="form-control serch-item-input-text">                <input id="sourceTypeTwo" type="text" class="form-control serch-item-input-text">                <input id="sourceTypeThree" type="text" class="form-control serch-item-input-text">            </div>        </div>        <div class="search-group ">            <div class="search-item-title">                <label>                    收费类型                </label>            </div>            <div class="search-item search-item-input" style="padding-top: 5px; width: 300px">                <label>                    <input type="checkbox" checked="checked" name="feeTypes" value="0">收费                </label>                <label>                    <input type="checkbox" checked="checked" name="feeTypes" value="1">退费                </label>                <label>                    <input type="checkbox" checked="checked" name="feeTypes" value="2,5">收欠费                </label>                <label>                    <input type="checkbox" checked="checked" name="feeTypes" value="3">部分退费                </label>                <label>                    <input type="checkbox" checked="checked" name="feeTypes" value="6">作废                </label>            </div>        </div>    </div>    <div style="margin-top: 10px;">        <div id="detailList" ng-if="!isGroup || pageData">            <div class="ares-lc-k-grid">                <div id="chargeDetailList"></div>            </div>            <table style="width: 100%">                <tr>                    <td ng-show="showOverflowWarning" style="color: red;">警告：当前查询结果记录数量超过最大限制，只显示部分数据。                    </td>                </tr>            </table>        </div>        <div style="margin-top: 10px; max-width: 1600px; overflow-x: auto" ng-if="isGroup && !pageData">            <h2 style="margin-left: 30px;">请先选择门店！</h2>        </div>    </div>    <notification-upload-success></notification-upload-success></div>');templateCache.put('/app/finance/views/charge-pay-order-view.html','<div class="ares-main-content">    <div class="ares-page-header">        <table style="display:inline;">            <tr>                <td style="width:80px">                    <label class="radio-inline">                        <input type="radio" name="dateType" ng-value="true" ng-click="radioCharge(true)" ng-model="defaultSelect">日查询                    </label><br />                    <label class="radio-inline">                        <input type="radio" name="dateType" ng-value="false" ng-click="radioCharge(false)" ng-model="defaultSelect">月查询                    </label>                </td>                <td style="width: 130px">                    <input id="startDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="timeSpan.startDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;">                </td>                <td style="padding-left: 5px; padding-right: 5px;" ng-hide="defaultSelect">-</td>                <td style="width: 130px; " ng-hide="defaultSelect">                    <input id="endDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="timeSpan.endDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px; ">                </td>                <td style="padding-left: 10px; padding-right: 5px;">微信交易号</td>                <td>                    <input style="width: 180px;" id="payOrderNo" type="text" class="form-control" ng-model="criteria.payOrderNo">                </td>                <td style="padding-left: 10px; padding-right: 5px;">患者姓名</td>                <td>                    <input style="width: 100px;" id="patientName" type="text" class="form-control" ng-model="criteria.patientName">                </td>                <td>                    <button type="button" class="btn btn-default" ares-slow-click="search()" style="margin-left:20px;">                        <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 查询                    </button>                    <button type="button" class="btn btn-default" ares-slow-click="exportExcel()" ares-authorize="finance.weixinPayOrderTransactionExcel">                        导出Excel                    </button>                </td>            </tr>        </table>        <span style="float:right;" ng-show="allowSealing">            <sealing-switcher bind-field="isBySealing"></sealing-switcher>        </span>    </div>    <div style="margin-top:2px;">        <div id="chargePayOrderlList" style="width:100%"></div>        <table style="width:100%;">            <tr>                <td style="text-align:left;">总记录数:{{pageData.length}}</td>            </tr>        </table>    </div></div>');templateCache.put('/app/finance/views/charge-summary-view.html','<div class="ares-main-content" ares-clean-kendo>    <div>        <table>            <tr>                <!--<td style="width:160px"><h1 style="margin:0">收入汇总</h1></td>-->                <td style="padding-left: 10px; padding-right: 10px;">收费时间</td>                <td style="width: 130px">                    <input id="startDatePicker" type="text" class="form-control" kendo-date-time-picker k-ng-model="timeSpan.startDate" k-format="\'yyyy-MM-dd HH:mm\'" style="width: 190px;">                </td>                <td style="padding-left: 5px; padding-right: 5px;"><label>-</label></td>                <td style="width: 130px; ">                    <input id="endDatePicker" type="text" class="form-control" kendo-date-time-picker k-ng-model="timeSpan.endDate" k-format="\'yyyy-MM-dd HH:mm\'" style="width: 190px; ">                </td>                <td ng-if="isGroup" style="padding-left: 10px; padding-right: 10px;">门店</td>                <td ng-if="isGroup">                    <div class="pull-left scheduler-button-container" style="top:0;">                        <input type="text" class="form-control" ng-model="selectedNamesMulti" placeholder="请选择门店" style="width: 100px" ng-readonly="true" ng-click="openOfficeGroupTestMultDialog()">                    </div>                </td>                <td style="width: 250px; padding-left: 10px; padding-right: 10px; ">                    <button type="button" class="btn btn-default" ares-slow-click="search()">                        <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 查询                    </button>                    <button type="button" class="btn btn-default" ares-authorize="finance.chargeSummaryExcel" ares-slow-click="exportExcel()">                        导出Excel                    </button>                </td>            </tr>        </table>    </div>    <div style="margin-top:10px;max-width:1600px;overflow-x:auto" ng-if="pageData">        <div id="chargeSummaryList"></div>        <table style="width:100%;">            <tr>                <td style="text-align:left;">总记录数:{{pageData.length}}</td>            </tr>        </table>    </div>    <div style="margin-top:10px;max-width:1600px;overflow-x:auto"  ng-if="isGroup && !pageData">        <h2 style="margin-left:30px;">请先选择门店！</h2>    </div></div>');templateCache.put('/app/finance/views/check-calendar-dialog-view.html','<div class=\'check-calendar-dialog-view\'>    <style scoped>        .check-calendar-dialog-view .test-div td {            padding: 5px;        }        .check-calendar-dialog-view .tr-dashed {            border-bottom:1px dashed #CFDBDD;        }        .check-calendar-dialog-view .td-font-border {            font-weight: bolder;        }    </style>    <div style="width:190px;border:1px solid #00A6C8;height:600px;position: relative;">        <div style="padding:5px;border-bottom:1px solid #CFDBDD;height: 40px;line-height: 30px;">            <span style="margin-left: 10px; font-weight:bolder">{{showTime}}</span>        </div>        <div class="test-div" style="margin-left: 10px; ">            <table style="width:95%">                <tr>                    <td align="left">实收金额:</td>                    <td align="right">{{dailySummary.totalAmount.toFixed(2)}}</td>                </tr>                <tr>                    <td align="left">营业收入:</td>                    <td align="right">{{dailySummary.inCome.toFixed(2)}}</td>                </tr>                <tr>                    <td align="left">诊疗预收款:</td>                    <td align="right">{{dailySummary.advancePrice.toFixed(2)}}</td>                </tr>                <tr>                    <td align="left">储值卡充值:</td>                    <td align="right">{{dailySummary.advanceChargedPrice.toFixed(2)}}</td>                </tr>                <tr>                    <td align="left">卡券销售:</td>                    <td align="right">{{dailySummary.giftCertificatePrice.toFixed(2)}}</td>                </tr>                <tr>                    <td align="left">收欠款:</td>                    <td align="right">{{dailySummary.payOverdue.toFixed(2)}}</td>                </tr>                <tr>                    <td align="left">代收欠款:</td>                    <td align="right">{{dailySummary.payOverdue2.toFixed(2)}}</td>                </tr>                <tr class="tr-dashed">                    <td align="left" class=\'td-font-border\'>新增欠款:</td>                    <td align="right" style=\'color:#FF2B2B\'>{{dailySummary.overdue.toFixed(2)}}</td>                </tr>                <tr class=\'td-font-border\'>                    <td colspan="2">累计至{{showTime}}</td>                </tr>                <tr class="tr-dashed">                    <td align="left">总欠款:</td>                    <td align="right" style=\'color:#FF2B2B\'>{{dailySummary.sumOverdue.toFixed(2)}}</td>                </tr>                <tr class=\'td-font-border\'>                    <td colspan="2">储值卡本金:</td>                </tr>                <tr  class="tr-dashed">                    <td align="left">总余额:</td>                    <td align="right">{{dailySummary.sumAdvanceChargedPrice.toFixed(2)}}</td>                </tr>               <!--  <tr>                    <td align="left">不记名卡本金:</td>                    <td align="right">41500</td>                </tr>                <tr>                    <td align="left">现金券余额:</td>                    <td align="right">{{dailySummary.sumGiftCertificatePrice.toFixed(2)}}</td>                </tr> -->                <tr style=\'font-weight:bolder;\'>                    <td  colspan="2">诊疗预收款:</td>                </tr>                <tr class="tr-dashed">                    <td align="left">总余额:</td>                    <td align="right">{{dailySummary.sumAdvancePrice.toFixed(2)}}</td>                </tr>            </table>        </div>        <div class=\'calendar-btn\' style=\'position:absolute;bottom:0;\'>            <button class=\'lc-btn lc-btn-primary\' style="width:190px;" ng-click="calenderDialogDetail()">查看详情</button>        </div>    </div></div>');templateCache.put('/app/finance/views/check-calendar-view.html','<div id="example">    <style scoped>        .event-template p {            margin: 5px 0 0;        }        .k-scheduler-content .k-event         {            height: auto !important;             border: none;        }         .k-scheduler-content .check-calendar-amount-div        {            float: left;            padding-right: 2px;            background-color:lightblue;            width: 97%;            border: 1px solid;            border-color: #3174ad;        }        .k-scheduler-content .check-calendar-amount-div2        {            float: left;            padding-right: 2px;            background-color:#F9F4D0;            width: 97%;            border: 1px solid;            margin-top: 5px;            border-color: #3174ad;        }        .k-event-actions:first-child        {            margin:  0px;        }        .k-event, .k-task-complete {            background-color: #e8e8e8;        }    </style>    <script id="event-template" type="text/x-kendo-template">        <div style="color: black;" class="check-calendar-amount-div">#: totalPaidStr #</div>        <div style="color: black;" class="check-calendar-amount-div2">#: totalOverdueStr #</div>    </script>    <div id="team-schedule"></div>    <div id="scheduler"></div></div>');templateCache.put('/app/finance/views/family-consumption-view.html','<div class="ares-main-content" ares-clean-kendo>    <div>        <div consumption-report-panel criteria="criteria"            on-search="search()"            on-export="exportExcel()">        </div>        <span style="float:right;" ng-show="allowSealing">            <sealing-switcher bind-field="isBySealing"></sealing-switcher>        </span>    </div>    <div style="margin-top:2px;">        <div id="consumptionList"></div>    </div></div>');templateCache.put('/app/finance/views/finance-home-view.html','<div style="position:relative;">    <new-report-upgrade-guide-view></new-report-upgrade-guide-view>    <ares-tab states="states" commands="commands" root-state="finance"></ares-tab></div>');templateCache.put('/app/finance/views/group-by-order-view.html','<div class="ares-main-content" ares-clean-kendo>    <div style="margin-top:10px;">        <div class="form-group" style="padding-left:10px; margin-top:10px;height:34px;">            <table>                <tr>                    <td style="width:70px">                        <label class="radio-inline">                            <input type="radio" name="dateType" ng-value="true" ng-model="defaultSelect">日查询                        </label><br />                        <label class="radio-inline">                            <input type="radio" name="dateType" ng-value="false" ng-model="defaultSelect">月查询                        </label>                    </td>                    <td>                        <table>                            <tr>                                <td style="width: 130px" ng-show="defaultSelect">                                    <input id="startDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="timeSpan.startTime" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;">                                </td>                                <td style="width: 130px" ng-hide="defaultSelect">                                    <input id="startTimePicker" type="text" class="form-control" kendo-date-picker k-ng-model="timeSpan.startTime" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;">                                </td>                                <td style="padding-left: 5px; padding-right: 5px;" ng-hide="defaultSelect">-</td>                                <td style="width: 130px; " ng-hide="defaultSelect">                                    <input id="endTimePicker" type="text" class="form-control" kendo-date-picker k-ng-model="timeSpan.endTime" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;">                                </td>                            </tr>                        </table>                    </td>                    <td style="padding-left: 10px; padding-right: 2px;">医生</td>                    <td>                        <input style="width: 100px;" id="doctorInput" type="text" class="form-control">                    </td>                    <td style="padding-left: 10px; padding-right: 2px;">护士</td>                    <td>                        <input style="width: 100px;" id="nurseInput" type="text" class="form-control">                    </td>                    <td style="padding-left: 10px; padding-right: 2px;">咨询师</td>                    <td>                        <input style="width: 100px;" id="consultantInput" type="text" class="form-control">                    </td>                    <td style="padding-left: 5px;">                        <input class="form-control" style="width: 180px" id="filter" placeholder="患者/病历号/拼音/手机" ng-model="criteria.searchText" />                    </td>                    <td style="padding-left: 5px;">                        <button type="button" class="btn btn-default" ares-slow-click="onSearch()">                            <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 查询                        </button>                        <!-- ares-authorize影响按钮的显示与否 -->                        <button type="button" class="btn btn-default" ng-click="exportExcel()" ares-authorize="finance.chargeGroupBuyCertificateExcel" ng-disabled="pageExpenditures.items.length <= 0">                            导出Excel                        </button>                    </td>                </tr>            </table>            <style>                #groupByOrderList .check-date {                    cursor: pointer;                }            </style>            <div id="groupByOrderList" style="width:100%;margin-top:10px;">            </div>        </div>    </div>    <notification-upload-success></notification-upload-success></div>');templateCache.put('/app/finance/views/membership-balance-view.html','<div class="ares-main-content" ares-clean-kendo>    <div>        <table style="display:inline;">            <tr>                <!--<td style="width:160px"><h1 style="margin:0">会员卡余额</h1></td>-->                <td style="padding-left: 10px; padding-right: 10px;">                    <label class="radio-inline">                        <input type="radio" name="criteriaType" ng-value="false" ng-click="radioCharge(true)" ng-model="criteria.isByDate">余额区间                    </label>                </td>                <td>                    <input id="minOverdue" style="width:100px;" kendo-numeric-text-box                           k-min="0" k-step="10" k-options="{format: \'#\', decimals:0}"                           k-ng-model="criteria.minBalance" />                    <label> - </label>                    <input id="maxOverdue" style="width:100px;" kendo-numeric-text-box                           k-min="0" k-step="10" k-options="{format: \'#\', decimals:0}"                           k-ng-model="criteria.maxBalance" />                </td>                <td ng-show="isGroup" style="padding-left: 20px;">门店</td>                <td ng-show="isGroup" style="padding-left: 10px; padding-right: 10px;">                    <div class="pull-left scheduler-button-container" style="top:0;">                        <input type="text" class="form-control" ng-model="selectedNamesMulti" placeholder="请选择门店" style="width: 100px" ng-readonly="true" ng-click="openOfficeGroupDialog()">                    </div>                </td>                <td style="padding-left: 10px; padding-right: 10px;">                    <label class="radio-inline">                        <input type="radio" name="criteriaType" ng-value="true" ng-click="radioCharge(true)" ng-model="criteria.isByDate">日期                    </label>                </td>                <td>                    <input id="startTimePicker" type="text" class="form-control"                           kendo-date-picker k-ng-model="criteria.showDate"                           k-format="\'yyyy-MM-dd\'" k-culture="zh-CN" ng-disabled="!criteria.isByDate"                           style="width: 130px;">                </td>                <td style="padding-left: 10px;">                    <input class="form-control" style="width: 200px" id="filter" placeholder="患者/病历号/拼音/手机" ng-model="criteria.searchText" />                </td>                <td>                    <button type="button" class="btn btn-default" ares-slow-click="onSearch()" style="margin-left:20px;">                        <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 查询                    </button>                    <button type="button" class="btn btn-default" ares-slow-click="exportExcel(false)" ng-show="canExport" >                        导出汇总                    </button>                    <button type="button" class="btn btn-default" ng-if="isGroup" ares-slow-click="exportExcel(true)" ng-show="canExport">                        导出明细                    </button>                </td>            </tr>        </table>        <span style="float:right;" ng-show="allowSealing">            <sealing-switcher bind-field="isBySealing"></sealing-switcher>        </span>    </div>    <div style="margin-top:10px;">        <div id="patientList"></div>        <div style="margin-top:10px;overflow-x:auto" ng-if="isGroup&&!pageData">            <h2 style="margin-left:30px;">请先选择门店！</h2>        </div>    </div></div>');templateCache.put('/app/finance/views/membership-summary-view.html','<div class="ares-main-content" ares-clean-kendo>    <div>        <table style="display:inline;">            <tr>                <td style="padding-left: 10px; padding-right: 10px;">                    变动日期                </td>                <td>                    <input id="startTimePicker" type="text" class="form-control"                           kendo-date-picker k-ng-model="criteria.startTime"                           k-format="\'yyyy-MM-dd\'" k-culture="zh-CN"                           style="width: 130px;">                    <label> - </label>                    <input id="endTimePicker" type="text" class="form-control"                           kendo-date-picker k-ng-model="criteria.endTime"                           k-format="\'yyyy-MM-dd\'" k-culture="zh-CN"                           style="width: 130px; ">                </td>                <td ng-show="isGroup" style="padding-left: 20px;">门店</td>                <td ng-show="isGroup" style="padding-left: 10px; padding-right: 10px;">                    <div class="scheduler-button-container" style="top:0;">                        <input type="text" class="form-control" ng-model="selectedNamesMulti" placeholder="请选择门店" style="width: 100px" ng-readonly="true" ng-click="openOfficeGroupDialog()">                    </div>                </td>                <td style="padding-left: 10px;">                    <input class="form-control" style="width: 200px" id="filter" placeholder="患者/病历号/拼音/手机" ng-model="criteria.searchText" />                </td>                <td>                    <button type="button" class="btn btn-default" ares-slow-click="onSearch()" style="margin-left:20px;">                        <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 查询                    </button>                    <button type="button" class="btn btn-default" ares-slow-click="exportExcel()" ng-show="canExport" >                        导出Excel                    </button>                </td>            </tr>        </table>        <span style="float:right;" ng-show="allowSealing">            <sealing-switcher bind-field="isBySealing"></sealing-switcher>        </span>    </div>    <div style="margin-top:10px;">        <div id="patientList"></div>        <div style="margin-top:10px;overflow-x:auto" ng-if="isGroup&&!pageData">            <h2 style="margin-left:30px;">请先选择门店！</h2>        </div>    </div></div>');templateCache.put('/app/finance/views/new-charge-account-check-view.html','<div class="new-charge-account-check-view common-list-wrap enyo" ares-clean-kendo>    <style scoped>        .new-charge-account-check-view .custom-standard-data-table .table-header table tr th,.new-charge-account-check-view .custom-standard-data-table .table-main table tr td {            text-align:center;        }        .charge-detail-search         {            margin-top: 5px;        }        .new-charge-account-check-view .list-tabel-wrap .zk-hb {            font-size:12px;        }        .new-charge-account-check-view .list-td-column-oper {            position:relative;        }        .new-charge-account-check-view .list-td-column-oper .oper {            width:24px;            display:inline-block;            cursor:pointer;            text-align:center;            position:absolute;            z-index:11;        }        .new-charge-account-check-view .list-td-column-oper .name {            padding-left:26px;        }        .new-charge-account-check-view .second-table table {            border:1px solid #e3e3e3;        }        .new-charge-account-check-view .second-table table thead tr {            background:#d6d9df !important;            height:30px;        }        .new-charge-account-check-view .second-table table tr th {            text-align:center;            font-weight:normal;        }        .new-charge-account-check-view  .custom-standard-data-table .table-main table.has-details .has-details-head {            border-bottom:none;            background-color:#f5f6f8;        }        .new-charge-account-check-view  .custom-standard-data-table .table-main table.has-details tr:hover {            background-color:#f5f6f8;        }        .new-charge-account-check-view  .custom-standard-data-table .table-main table.has-details .second-table tr:hover {            background-color:#e0faff;        }        .new-charge-account-check-view .list-tabel-wrap.custom-standard-data-table .table-main .second-table table tr td {            height:auto;        }        .new-charge-account-check-view .list-tabel-wrap.custom-standard-data-table .table-main table tr .warning {            color:#ff4949;            position:relative;        }        .new-charge-account-check-view .list-tabel-wrap.custom-standard-data-table .table-main table tr .warning i {            font-size:12px;            color:#f7a51d;            margin-left:2px;            position:absolute;            margin-top:1px;        }              .new-charge-account-check-view .export-excel {            line-height:34px;            cursor:pointer;        }        .new-charge-account-check-view .export-excel a:hover {            color:#00a6c9;        }        .new-charge-account-check-view .export-excel a i {            margin-right:3px;        }        .new-charge-account-check-view .table-main .tooltip {            opacity:1;        }        .new-charge-account-check-view .table-main .tooltip.bottom .tooltip-arrow {            border-bottom-color:#f7ba2a;        }        .new-charge-account-check-view .table-main .tooltip-inner {            color:#3a3e3f;            background-color:#f7ba2a;        }        .new-charge-account-check-view .new-charge-account-check-view .empty-list-hint {            width: 100%;            margin-top: 70px;        }    </style>    <div class="charge-detail-search  clearfix">        <div class="search-group pull-left" style="margin-right: 10px;">            <div class="search-item search-item-input">                 <div class="btn-group" role="group" ng-if="!isAllowViewAccountCheck"  data-step="6" data-intro="收费日期默认仅可查看一天，可通过角色权限设置为查看多天数据。如需要，请联系您的管理员进行设置。" data-position="right">                        <button type="button" class="btn btn-default no-outline" style="margin-right: 0px"  ng-click="navigate(-1)"><span class="glyphicon glyphicon-triangle-left" aria-hidden="true"></span></button>                        <input id="startDatePicker" type="text" class="form-control" style = "float:left" kendo-date-picker k-ng-model="timeSpan.startDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;">                        <button type="button" class="btn btn-default no-outline" style="margin-left: 0px" ng-click="navigate(1)"><span class="glyphicon glyphicon-triangle-right" aria-hidden="true"></span></button>                 </div>                 <div  ng-if="isAllowViewAccountCheck" data-step="6" data-intro="收费日期默认仅可查看一天，可通过角色权限设置为查看多天数据。如需要，请联系您的管理员进行设置。" data-position="right">                     <timer-range-picker time-range-date="timeSpan"></timer-range-picker>                 </div>                                </div>        </div>        <div class="search-item search-item-input" style="width: 400px"  >            <div style="width: 200px;" data-step="7" data-intro="根据收费单类型显示当天所有收费数据">                <ares-multi-select id="feeType" data-placeholder="收费类型"  tag="收费类型"                                           ng-model="selectedFeeTypes"                                           text-field="name" value-field="id"                                           multi-source="feeTypes"                                           select-height="430"                                           search-choice="" soure-url="" style="width: 200px;" ></ares-multi-select>            </div>        </div>        <div class="search-item pull-right">            <button type="button" class="btn btn-default btn-primary" ares-slow-click="searchAndOpen()">                <!-- <span class="glyphicon glyphicon-search" aria-hidden="true"></span> -->                查询            </button>            <button type="button" class="btn btn-default" ares-slow-click="exportExcel()"  data-step="8" data-intro="将当前报表导出为excel文档" data-position="right">                导出            </button>            <button type="button" class="btn btn-default" ng-click ="configColumn()" data-step="9" data-intro="设置打印模板字段" data-position="right">                打印配置            </button>             <button type="button" class="btn btn-default" ng-click ="printChargeOrder()" data-step="10" data-intro="打印当前报表" data-position="left" >                <!-- <span class="glyphicon glyphicon-print" aria-hidden="true"></span> -->                打印            </button>            <a ng-click="startHelp()"  >                <span style="cursor:pointer;padding-top:1px;" data-step="11" data-intro="重新观看本功能介绍" data-position="left">                    <i class="iconfont icon-bangzhu" style="vertical-align: sub;font-size: 24px;"></i>                </span>            </a>        </div>    </div>    <div class="lc-k-grid inventory-grid" style =" margin-top: 10px;">        <div class="order-list">            <div class="list-tabel-wrap custom-standard-data-table">                <div class="table-header" style="border: none;">                    <table>                        <tr>                            <th style="width: 45px; padding-left: 0; text-align: right;">                                <span style="display: inline-block; cursor: pointer; font-size: 12px;" ng-click="expandAllChange(chargeAccountCheckResult)">                                    <span class="transform-scale" ng-if="!isExpandAll">展开 <i class="iconfont icon-shang zk-hb"></i></span>                                    <span class="transform-scale" ng-if="isExpandAll">收起 <i class="iconfont icon-xia1 zk-hb"></i></span>                                </span>                            </th>                            <th style="width: 9%; text-align: left; cursor: pointer;">类型                            </th>                            <th style="width: 9%; text-align: left; cursor: pointer;">单据号                            </th>                            <th style="width: 9%; text-align: left; cursor: pointer;">患者姓名                            </th>                            <th style="width: 9%; text-align: left; cursor: pointer;">病历号                            </th>                            <th style="width: 9%; text-align: left; cursor: pointer;">挂号时间                            </th>                            <th style="width: 9%; text-align: left; cursor: pointer;">收费时间                            </th>                            <th style="width: 10%; text-align: left; cursor: pointer;">收款人岗位                            </th>                            <th style="width: 9%; text-align: left; cursor: pointer;">收款人                            </th>                            <th style="width: 10%; text-align: left; cursor: pointer;">开单人岗位                            </th>                            <th style="width: 9%; text-align: left; cursor: pointer;">开单人                            </th>                            <th style="width: 9%; text-align: left; cursor: pointer;">审批人                            </th>                            <th style="width: 9%; text-align: left; cursor: pointer;">实付金额                            </th>                            <th style="width: 9%; text-align: left; cursor: pointer;">欠费                            </th>                            <th style="width: 9%; text-align: left; cursor: pointer;">优惠总计                            </th>                            <th style="width: 9%; text-align: left; cursor: pointer;">备注                            </th>                            <th style="width: 9%; text-align: left; cursor: pointer;"><div data-step="12" data-intro="点击对账按钮辅助进行对账记录确认" data-position="left">对账</div>                            </th>                        </tr>                    </table>                </div>                <div class="table-main">                    <div class="table-main-content">                        <table style="width: 100%;">                            <tr style="border: none;" ng-repeat="currentChargeOrder in chargeAccountCheckResult.items">                                <td colspan="17" style="padding: 0;">                                    <table style="width: 100%;" ng-class="{\'has-details\':currentChargeOrder.details.length > 0 && currentChargeOrder.isShowDetails}">                                        <tr class="has-details-head">                                             <td style="width:45px;cursor: pointer;text-align: right;" ng-click="currentChargeOrderChange(currentChargeOrder)">                                                <span class="oper" ng-if="currentChargeOrder.details && currentChargeOrder.details.length > 0">                                                    <i ng-show="!currentChargeOrder.isShowDetails" class="iconfont icon-xiayiye zk-hb"></i>                                                    <i ng-show="currentChargeOrder.isShowDetails" class="iconfont icon-shang zk-hb"></i>                                                </span>                                            </td>                                            <td style="width: 9%; text-align: left;">                                                <span class="double-line-text" title="{{currentChargeOrder.feeTypeStr}}">{{currentChargeOrder.feeTypeStr}}                                                </span>                                            </td>                                             <td style="width: 9%; text-align: left;">                                                <span class="double-line-text" title="{{currentChargeOrder.billNo}}">{{currentChargeOrder.billNo}}                                                </span>                                            </td>                                            <td style="width: 9%; text-align: left;">                                                <span class="double-line-text" title="{{currentChargeOrder.patientName}}">{{currentChargeOrder.patientName}}                                                </span>                                            </td>                                            <td style="width: 9%; text-align: left;">                                                <span class="double-line-text" title="{{currentChargeOrder.privateId}}">{{currentChargeOrder.privateId}}                                                </span>                                            </td>                                            <td style="width: 9%; text-align: left;">                                                <span class="double-line-text" title="{{currentChargeOrder.checkInTime}}">{{currentChargeOrder.checkInTime}}                                                </span>                                            </td>                                            <td style="width: 9%; text-align: left;">                                                <span class="double-line-text" title="{{currentChargeOrder.payDateTime}}">{{currentChargeOrder.payDateTime}}                                                </span>                                            </td>                                            <td style="width: 10%; text-align: left;">                                                <span class="double-line-text" title="{{currentChargeOrder.payeeJob}}">{{currentChargeOrder.payeeJob}}                                                </span>                                            </td>                                            <td style="width: 9%; text-align: left;">                                                <span class="double-line-text" title="{{currentChargeOrder.payee}}">{{currentChargeOrder.payee}}                                                </span>                                            </td>                                            <td style="width: 10%; text-align: left;">                                                <span class="double-line-text" title="{{currentChargeOrder.recordCreatedUserJob}}">{{currentChargeOrder.recordCreatedUserJob}}                                                </span>                                            </td>                                            <td style="width: 9%; text-align: left;">                                                <span class="double-line-text" title="{{currentChargeOrder.recordCreatedUserName}}">{{currentChargeOrder.recordCreatedUserName}}                                                </span>                                            </td>                                            <td style="width: 9%; text-align: left;">                                                <span class="double-line-text" title="{{currentChargeOrder.approvaler}}">{{currentChargeOrder.approvaler}}                                                </span>                                            </td>                                            <td style="width: 9%; text-align: left;">                                                <span class="double-line-text" title="{{currentChargeOrder.actualPrice}}">{{currentChargeOrder.actualPrice}}                                                </span>                                            </td>                                            <td style="width: 9%; text-align: left;">                                                <span class="double-line-text" title="{{currentChargeOrder.overdueCharge}}">{{currentChargeOrder.overdueCharge}}                                                </span>                                            </td>                                            <td style="width: 9%; text-align: left;">                                                <span class="double-line-text" title="{{currentChargeOrder.discountAmount}}">{{currentChargeOrder.discountAmount}}                                                </span>                                            </td>                                            <td style="width: 9%; text-align: left;">                                                <span class="double-line-text" title="{{currentChargeOrder.comments}}"> {{currentChargeOrder.comments}}                                                </span>                                            </td>                                            <td style="width: 9%; text-align: left;">                                                <input type="checkbox" class="ares-checkbox" ng-model="currentChargeOrder.isChecked"  data-chargeOrder-id = "{{currentChargeOrder.id}}" ng-checked = "currentChargeOrder.isChecked">                                            </td>                                        </tr>                                        <tr ng-if="currentChargeOrder.details.length > 0 && currentChargeOrder.isShowDetails">                                            <td colspan="11" class="second-table">                                                <table style="width: 100%;">                                                    <thead>                                                        <tr>                                                            <th style="width: 20%;">支付方式</th>                                                            <!-- <th style="width: 20%;">类型</th> -->                                                            <th style="width: 20%;">单据号 </th>                                                            <th style="width: 20%;">实收金额</th>                                                            <th style="width: 20%;">优惠金额</th>                                                        </tr>                                                    </thead>                                                    <tbody>                                                        <tr ng-repeat="item in currentChargeOrder.details">                                                            <td style="width: 20%;">                                                                <span class="double-line-text">{{item.paymentType}}</span>                                                            </td>                                                           <!--  <td style="width: 20%;">                                                                <span class="double-line-text">{{item.feeTypeStr}}</span>                                                            </td> -->                                                            <td style="width: 20%;">                                                                <span class="double-line-text">{{item.billNo}}</span>                                                            </td>                                                            <td style="width: 20%;">                                                                <span class="double-line-text">{{item.amount}}</span>                                                            </td>                                                            <td style="width: 20%;">                                                                <span class="double-line-text">{{item.giftPrice}}</span>                                                            </td>                                                        </tr>                                                    </tbody>                                                </table>                                            </td>                                        </tr>                                    </table>                                </td>                            </tr>                        </table>                    </div>                    <div class="empty-list-hint" ng-show="chargeAccountCheckResult.items.length === 0">                        <div style="margin-left: calc(50% - 150px); float: left;">                            <i class="iconfont icon-jinggao" style="font-size: 110px; color: #f7a51d;"></i>                        </div>                        <div style="margin-left: 20px; height: 150px; float: left; display: flex; align-items: center;">                            <div>                                <div style="color: #575d6a; font-size: 18px;">抱歉，没有相关信息</div>                            </div>                        </div>                    </div>                </div>            </div>        </div>        <div class="table-footer lc-table-footer" style="margin-top: 20px;">            <div pagination total-items="chargeAccountCheckResult.totalCount"                items-per-page="searchCriteria.pageSize"                ng-model="searchCriteria.pageIndex" ng-change="pageSearch(searchCriteria.pageIndex)"                max-size="10"                first-text="第一页"                previous-text="前一页"                next-text="后一页"                last-text="最后一页"                rotate="true"                class="pagination new-page-color" boundary-links="true" style="margin: 0;">            </div>            <ul class="pagination new-page-color pagination-to-page" style="margin: 0">                <li class="disabled">                    <a style="padding: 0; padding-left: 5px; padding-right: 5px;">每页                        <input kendo-numeric-text-box k-min="1" k-max="50"                            k-ng-model="searchCriteria.pageSize"                            style="width: 63px;" k-on-change="search();isExpandAll=false;"                            k-options="{format: \'#\', decimals:0}" />                        条                    </a>                </li>            </ul>            <ul class="pagination" style="margin: 0">                <li class="disabled">                    <a>共{{ chargeAccountCheckResult.totalCount }}条</a>                </li>            </ul>        </div>    </div>    <account-check-print-template-view></account-check-print-template-view></div>');templateCache.put('/app/finance/views/office-charge-detail-view.html','<div class="ares-main-content" ares-clean-kendo>    <div>        <table style="display:inline;">            <tr>                <td style="width:80px;padding-left:10px">                    <label class="radio-inline">                        <input type="radio" name="dateType" ng-value="true" ng-model="viewStatus.defaultSelect">日查询                    </label><br />                    <label class="radio-inline">                        <input type="radio" name="dateType" ng-value="false" ng-model="viewStatus.defaultSelect">月查询                    </label>                </td>                <td style="width: 130px" ng-show="viewStatus.defaultSelect">                    <input id="datePicker" type="text" class="form-control" kendo-date-picker k-ng-model="criteria.date" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;">                </td>                <td style="width: 130px" ng-hide="viewStatus.defaultSelect">                    <input id="startDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="criteria.startDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;">                </td>                <td style="padding-left: 5px; padding-right: 5px;" ng-hide="viewStatus.defaultSelect">-</td>                <td style="width: 130px; " ng-hide="viewStatus.defaultSelect">                    <input id="endDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="criteria.endDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px; ">                </td>                <td style="padding-left: 10px; padding-right: 5px;">收费项目</td>                <td style="width: 130px; ">                    <input type="text" class="form-control" ng-model="viewStatus.chargeItemNames" ng-readonly="true" ng-click="showItemsDlg()">                </td>                <td style="width:70px;padding-left: 10px;">                    <label class="radio-inline">                        <input type="radio" name="priceType" ng-value="0" ng-model="criteria.type">实收                    </label><br />                    <label class="radio-inline">                        <input type="radio" name="priceType" ng-value="1" ng-model="criteria.type">应收                    </label>                </td>                <td>                    <button type="button" class="btn btn-default" ares-slow-click="search()" style="margin-left:20px;">                        <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 查询                    </button>                    <button type="button" class="btn btn-default" ares-slow-click="exportExcel()" ares-authorize="finance.officeChargeDetailExcel" style="margin-left:15px;" ng-disabled="pageData.length <= 0">                        导出Excel                    </button>                </td>            </tr>        </table>        <span style="float:right;" ng-show="allowSealing">            <sealing-switcher bind-field="isBySealing"></sealing-switcher>        </span>    </div>    <div style="margin-top:2px;margin-left:5px">        <div id="officeChargeDetailReportList" ></div>        <!--<div ng-hide="pageData && pageData.length > 0"><h2>没有查询到数据!</h2></div>-->    </div></div>');templateCache.put('/app/finance/views/overdue-patient-report-view.html','<div class="ares-main-content overdue-patient-report-view"  ares-clean-kendo>    <style scoped>        .overdue-patient-report-view ul.pagination {            margin-bottom: 0 !important;        }    span.overdue-patient-list     {        color: #00A6C9;        cursor:  pointer;     }        .k-state-selected .overdue-patient-list     {        color: #fff;     }         </style>    <div>        <table style="display:inline;">            <tr>                <!--<td style="width:160px"><h1 style="margin:0">欠费患者</h1></td>-->                <!--<td style="width:80px">                    <label class="radio-inline">                        <input type="radio" name="dateType" ng-value="true" ng-click="radioCharge(true)" ng-model="defaultSelect">欠费区间                    </label><br />                    <label class="radio-inline">                        <input type="radio" name="dateType" ng-value="false" ng-click="radioCharge(false)" ng-model="defaultSelect">欠费日期                    </label>                </td>-->                <td style="padding-left: 10px; padding-right: 10px;">                    <label class="radio-inline">                        <input type="radio" name="criteriaType" ng-value="0" ng-click="radioCharge(true)" ng-model="criteria.overdueType">欠费区间                    </label>                </td>                <td>                    <input id="minOverdue" style="width:130px;" kendo-numeric-text-box                           k-min="0" k-step="10" k-options="{format: \'#\', decimals:0}"                           k-ng-model="criteria.minOverdue" ng-disabled="!criteria.overdueType==0" />                    <label> - </label>                    <input id="maxOverdue" style="width:130px;" kendo-numeric-text-box                           k-min="0" k-step="10" k-options="{format: \'#\', decimals:0}"                           k-ng-model="criteria.maxOverdue" ng-disabled="!criteria.overdueType==0" />                </td>                <td style="padding-left: 10px; padding-right: 10px;">                    <label class="radio-inline">                        <input type="radio" name="criteriaType" ng-value="1" ng-model="criteria.overdueType">欠费变动                    </label><br />                    <label class="radio-inline">                        <input type="radio" name="criteriaType" ng-value="2" ng-model="criteria.overdueType ">欠费账单                    </label>                </td>                <td ng-hide="defaultSelect">                    <input id="startTimePicker" type="text" class="form-control"                           kendo-date-picker k-ng-model="criteria.startTime"                           k-format="\'yyyy-MM-dd\'" k-culture="zh-CN" ng-disabled="!criteria.overdueType==1||!criteria.overdueType==2"                           style="width: 130px;">                    <label> - </label>                    <input id="endTimePicker" type="text" class="form-control"                           kendo-date-picker k-ng-model="criteria.endTime"                           k-format="\'yyyy-MM-dd\'" k-culture="zh-CN" ng-disabled="!criteria.overdueType==1||!criteria.overdueType==2"                           style="width: 130px; ">                </td>                <td style="padding-left: 5px;">                    <input class="form-control" style="width: 200px" id="filter" placeholder="患者/病历号/拼音/手机" ng-model="criteria.searchText" />                </td>                <td>                    <button type="button" class="btn btn-default" ares-slow-click="search()" style="margin-left:20px;">                        查询                    </button>                    <button type="button" class="btn btn-default" ares-slow-click="exportExcel()" ng-show="canExport" >                        导出                    </button>                </td>            </tr>        </table>        <span style="float:right;" ng-show="allowSealing">            <sealing-switcher bind-field="isBySealing"></sealing-switcher>        </span>    </div>    <div style="margin-top:10px;">        <div id="patientList"></div>        <table style="width:100%;">            <tr>                <td>                    <div style="margin-top: -15px">                        <div pagination total-items="pageData.totalCount" items-per-page="pageData.pageSize"                             ng-model="pageIndex" ng-change="onPageChanged(pageIndex)"                             max-size="maxPageCount" first-text="第一页" previous-text="前一页" next-text="后一页" last-text="最后一页" rotate="true"                             class="pagination" boundary-links="true"></div>                    </div>                </td>                <td valign="top" style="text-align:right;">总记录数:{{pageData.totalCount}}</td>            </tr>        </table>    </div></div>');templateCache.put('/app/finance/views/patient-consumption-view.html','<style>    #grouplist li {        float: left;        list-style: none;        padding-left: 5px;        margin-bottom: 5px    }</style><div class="ares-main-content" ares-clean-kendo ng-style="{\'height\' : isAres3 ? \'calc(100vh - 132px)\' : \'auto\'}">    <div>        <table style="display:inline;">            <tr>                <td style="padding-left:10px; padding-right:10px;">日期</td>                <td style="width: 130px">                    <input id="startDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="criteria.startDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;">                </td>                <td style="padding-left:5px; padding-right:5px;" ng-hide="defaultSelect">-</td>                <td style="width: 130px;" ng-hide="defaultSelect">                    <input id="endDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="criteria.endDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px; ">                </td>                <td style="width:70px; padding-left:10px;">                    <label class="radio-inline">                        <input type="radio" name="priceType" ng-value="0" ng-model="criteria.type">实收                    </label><br />                    <label class="radio-inline">                        <input type="radio" name="priceType" ng-value="1" ng-model="criteria.type">应收                    </label>                </td>                <td style="padding-top:5px; padding-bottom: 10px; padding-left: 10px;">                    <div cascading-patient-source model="criteria"></div>                </td>                <td>                    <button type="button" class="btn btn-default" ares-slow-click="search(0)" style="margin-left:20px;">                        <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 查询                    </button>                    <button type="button" class="btn btn-default" ares-slow-click="exportExcel()" ares-authorize="finance.patientConsumptionExcel">                        导出Excel                    </button>                </td>            </tr>        </table>        <span style="float:right;" ng-show="allowSealing">            <sealing-switcher bind-field="isBySealing"></sealing-switcher>        </span>    </div>    <div id="amountGroup" style="width: 960px;padding-top: 10px;">        <table>            <tr>                <td style="width: 80px;">                    <span style="font-weight: bold;">金额单位:</span>                </td>                <td>                    <input id="amountUnit" style="width: 130px;">                </td>                <td style="width: 80px;">                    <span style="font-weight: bold; margin-left:5px">可选节点:</span>                </td>                <td><input id="amountGroupLength" style="width: 130px;"></td>                <td>                    <button type="button" class="btn btn-default" ng-click="addAmountGroup()" style="margin-left: 8px;">                        添加节点                    </button>                </td>                <td style="padding-left: 100px;">                    <input class="form-control" style="width: 200px" id="filter" placeholder="患者/病历号/拼音/手机" ng-model="criteria.searchText" />                </td>            </tr>        </table>    </div>    <div style="padding-top: 9px;">        <table>            <tr>                <td style="width: 70px;"><span style="font-weight: bold;">当前节点:</span></td>                <td>                    <div id="amountGroupResult">                        <ul id="grouplist"></ul>                    </div>                </td>            </tr>        </table>    </div>    <div style="padding-top: 8px;">        <div class="col-md-5">            <div>                <div id="apptReport" style="height: 400px; width: 540px;" ng-show="patientCount > 0"></div>                <div ng-show="patientCount == 0" style="height: 400px; width: 540px; margin-left: 250px; margin-top: 50px;">暂无数据</div>            </div>            <div style="padding-left: 60px;padding-top: -10px;" ng-show="isShowSummary">                <table>                    <tr>                        <td style="width:160px"><table><tr>{{name}}<td></td></tr></table></td>                        <td></td>                        <td style="width:160px">                            <table>                                <tr><td>占比：</td><td>{{percentage}}%</td></tr>                                <tr><td>人数：</td><td>{{patientNumber}}人</td></tr>                                <tr><td>消费总计：</td><td>{{sumAmount}}元</td></tr>                                <tr><td>人均消费：</td><td>{{avgAmount}}元</td></tr>                            </table>                        </td>                    </tr>                </table>            </div>        </div>        <div class="col-md-7">            <div style="margin-top:2px;">                <div id="consumptionList"></div>            </div>        </div>    </div></div>');templateCache.put('/app/finance/views/patient-point-summary-view.html','<div class="ares-main-content" ares-clean-kendo>    <div>        <table style="display:inline;">            <tr>                <td style="padding-left: 10px; padding-right: 10px;">                    变动日期                </td>                <td>                    <input id="startTimePicker" type="text" class="form-control"                           kendo-date-picker k-ng-model="criteria.startTime"                           k-format="\'yyyy-MM-dd\'" k-culture="zh-CN"                           style="width: 130px;">                    <label> - </label>                    <input id="endTimePicker" type="text" class="form-control"                           kendo-date-picker k-ng-model="criteria.endTime"                           k-format="\'yyyy-MM-dd\'" k-culture="zh-CN"                           style="width: 130px; ">                </td>                <td style="padding-left: 10px;">                    <input class="form-control" style="width: 200px" id="filter" placeholder="患者/病历号/拼音/手机" ng-model="criteria.searchText" />                </td>                <td>                    <button type="button" class="btn btn-default" ares-slow-click="onSearch()"                            style="margin-left:20px;">                        <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 查询                    </button>                    <button type="button" class="btn btn-default" ares-slow-click="exportExcel()"                            ares-authorize="finance.patientPointSummaryExcel">                        导出Excel                    </button>                </td>            </tr>        </table>        <!--<span style="float:right;" ng-show="allowSealing">-->        <!--<sealing-switcher bind-field="isBySealing"></sealing-switcher>-->        <!--</span>-->    </div>    <div style="margin-top:10px;">        <div id="patientList"></div>        <table style="width:100%;"></table>    </div></div>');templateCache.put('/app/finance/views/yibao-account-check-view.html','<div class="yibao-account-check enyo" ares-clean-kendo>    <style scoped>        .yibao-account-check .k-grid td {            text-align: left;        }        .yibao-account-check .k-grid .k-grid-content .cell-center {            text-align: center;        }        .yibao-account-check .k-grid .k-grid-content td .btn-group button {            border: none;            color: #00a6c9;            background: transparent;        }        .yibao-account-check .account-check-search .search-item .k-input {            box-shadow: none;        }        .yibao-account-check .account-check-search .search-item button.btn {            margin-left: 10px;            height: 32px;        }        .yibao-account-check .account-check-grid {            min-height: 300px;        }        .yibao-account-check .edit-button {            cursor: pointer;        }        .yibao-account-check .checkbox-box {            line-height: 32px;        }        .yibao-account-check .checkbox-box .ares-checkbox {            vertical-align: text-top;        }        .yibao-account-check label {            font-weight: normal;        }                .yibao-account-check .account-check-grid {            min-height: 300px;        }        .yibao-account-check .account-check-grid .k-grid-content td span.label {            margin-left: 5px;        }        .yibao-account-check .search-wrap.search-more-body {            background-color: #eff7ff;            padding-top: 8px;            height: auto;            text-indent: 5px;            border-top: 1px solid #D6D9DF;            margin-bottom: 5px;            margin-top: 10px;        }        .yibao-account-check .search-wrap .search-item {            display: inline-block;            vertical-align: middle;        }        .yibao-account-check .customer-clue-footer {            background: #f3f7f7;            height: 50px;        }               .account-check-search  .search-item-title        {            float: left;            padding-top: 5px;            padding-right: 10px;        }        .account-check-search  .search-item-input        {            float: left;        }                .ares-lc-k-grid .k-grid .k-grid-header th.k-header {            background-color: #00a6c9;            border-right: 1px solid #D6D9DF;            border-radius: 0 !important;            color: #fff;        }        .ares-lc-k-grid .k-grid-header th.k-with-icon .k-link {            color: #fff;        }        .ares-lc-k-grid .k-grid-footer:focus {            outline: none;        }    </style>    <div class="account-check-search clearfix">        <div class="search-group pull-left" style="margin-right: 10px;">            <div class="search-item-title">                <label>账单日期</label>            </div>            <div class="search-item search-item-input">               <div style="float: left;margin-top: -5px;">                    <span>                        <label class="radio-inline">                            <input type="radio" name="dateType" ng-value="true" ng-click="radioCharge(true)" ng-model="defaultSelect">日查询                        </label>                        <br />                        <label class="radio-inline">                            <input type="radio" name="dateType" ng-value="false" ng-click="radioCharge(false)" ng-model="defaultSelect">月查询                        </label>                    </span>                </div>                <div style="float: left">                    <input ng-show="defaultSelect" id="startDatePicker" type="text" class="form-control"                        kendo-date-picker k-ng-model="timeSpan.startTime"                        k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']"                        style="width: 130px;">                    <input ng-hide="defaultSelect" id="startTimePicker" type="text" class="form-control"                        kendo-date-time-picker k-ng-model="timeSpan.startTime"                        k-format="\'yyyy-MM-dd HH:mm\'" k-culture="zh-CN"                        style="width: 190px;">                    <span style="padding: 4px" ng-hide="defaultSelect">-</span>                    <input ng-hide="defaultSelect" id="endTimePicker" type="text" class="form-control"                        kendo-date-time-picker k-ng-model="timeSpan.endTime"                        k-format="\'yyyy-MM-dd HH:mm\'" k-culture="zh-CN"                        style="width: 190px;">                </div>                        </div>        </div>        <div class="search-group pull-left" style="margin-right: 10px;">            <div class="search-item-title">                <label>保险类型</label>            </div>            <div class="search-item search-item-input">                <select id="daysBeforeTodayInput" class="not-ignore" kendo-drop-down-list style="width: 120px" ng-model="criteria.payTypes">                    <option value="">全部</option>                    <option value="医保">医保</option>                    <option value="泰康口腔科保险">泰康口腔科保险</option>                </select>            </div>        </div>        <div class="search-item pull-right">            <button type="button" class="btn btn-default" ares-slow-click="onSearch()">                <span class="glyphicon glyphicon-search" aria-hidden="true"></span>查询            </button>            <button type="button" class="btn btn-default" ares-slow-click="exportExcel()"                            ares-authorize="finance.yibaoAccountCheckExcel">                        导出Excel            </button>        </div>    </div>    <div style="margin-top: 10px;">        <div class="ares-lc-k-grid">            <div id="yibaoAccountCheck" class="account-check-grid"></div>        </div>    </div>    <notification-upload-success></notification-upload-success></div>');})();